Commit 76551ae5 by zhengxj

finish 解决设备号未变更问题 on 20190322 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18779 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 84085b75
......@@ -1542,6 +1542,8 @@ public class OrderServiceImpl implements IOrderService {
Date date = new Date();
sysOrder.setUpdateTime(date);
sysOrder.setCompleteTime(date);
// 更换设备 时 更新设备号
sysOrder.setDeviceNo(orderRepairReq.getDeviceNo());
int i = orderDao.updateByPrimaryKeySelective(sysOrder);
if (i == 1) {
SysOrderStatus sysOrderStatus = new SysOrderStatus();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!