|
|
@ -170,7 +170,7 @@ public class SysSalesOrderServiceImpl implements ISysSalesOrderService |
|
|
|
public int insertSysSalesOrder(SysSalesOrder sysSalesOrder){ |
|
|
|
String loginName = ShiroUtils.getLoginName(); |
|
|
|
sysSalesOrder.setCreateBy(loginName); |
|
|
|
sysSalesOrder.setCreateTime(DateUtils.getNowDate()); |
|
|
|
sysSalesOrder.setCreateTime(new Date()); |
|
|
|
sysSalesOrder.setApplyUser(loginName); |
|
|
|
int result = sysSalesOrderMapper.insertSysSalesOrder(sysSalesOrder); |
|
|
|
sysSalesOrder.getSalesOrderId(); |
|
|
@ -200,7 +200,7 @@ public class SysSalesOrderServiceImpl implements ISysSalesOrderService |
|
|
|
SysUser user = userMapper.selectUserByLoginName(sysSalesOrder.getApplyUser()); |
|
|
|
String loginName = ShiroUtils.getLoginName(); |
|
|
|
sysSalesOrder.setUpdateBy(loginName); |
|
|
|
sysSalesOrder.setUpdateTime(DateUtils.getNowDate()); |
|
|
|
sysSalesOrder.setUpdateTime(new Date()); |
|
|
|
// 存在提交完就流程结束的情况
|
|
|
|
List<SysSalesOrderChild> sysSalesOrderChildList = sysSalesOrder.getSysSalesOrderChildList(); |
|
|
|
if (sysSalesOrderChildList.isEmpty()){ |
|
|
|