新增销售订单时默认销售状态为执行中

This commit is contained in:
潘荣晟
2025-12-31 14:49:26 +08:00
parent 90d3db4f6d
commit 9be0745c03
2 changed files with 8 additions and 7 deletions

View File

@@ -99,7 +99,12 @@ public class ErpFactoryServiceImpl implements ErpFactoryService {
throw exception(ERP_FACTORY_NOT_ALLOW_UPDATE);
}
//不允许修改除了绑定工厂名称、绑定工厂编码和操作以外的信息
erpFactoryMapper.updateById(updateObj);
ErpFactoryDO erpFactoryDO = new ErpFactoryDO();
erpFactoryDO.setId(updateObj.getId());
erpFactoryDO.setRelnumber(updateObj.getRelnumber());
erpFactoryDO.setRelnumber(updateObj.getRelnumber());
erpFactoryDO.setOperationType(updateObj.getOperationType());
erpFactoryMapper.updateById(erpFactoryDO);
}
@Override