Commit 1f8b3963 authored by huyuchen's avatar huyuchen

实缴导入校验项目

parent 48ed1f97
......@@ -584,7 +584,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
public R invalidOrder(String id) {
TOrder one = baseMapper.selectById(id);
if (Common.isNotNull(one) && CommonConstants.ZERO_INT == one.getOrderStatus()) {
if (Common.isNotNull(one) && CommonConstants.ZERO_INT != one.getOrderStatus()) {
return R.failed(OrderConstants.ORDER_INVALID_FAILED);
}
one.setDeleteFlag(CommonConstants.ONE_INT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment