Commit ef6747ea by wangnb

包活干2.4.1更新工单参数校验--think.wang

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@31012 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 157b6b84
...@@ -541,8 +541,7 @@ public class StandardOrderServiceImpl implements StandardOrderService { ...@@ -541,8 +541,7 @@ public class StandardOrderServiceImpl implements StandardOrderService {
} else { } else {
order.setShopId(merchantId); order.setShopId(merchantId);
} }
if (StringUtils.isEmpty(order.getWorkOrderNo()) || if (order.getId() == null || order.getId() <= 0){
StringUtils.isEmpty(order.getChannel())){
return ResultObject.of(com.glsx.common.constants.ResultCodeEnum.PARAM_ERROR); return ResultObject.of(com.glsx.common.constants.ResultCodeEnum.PARAM_ERROR);
} }
int num = orderMapper.updateChannelOrder(order); int num = orderMapper.updateChannelOrder(order);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!