Browse Source

[update]:物料信息插入时写入创建人

erp、
youjianchi 1 year ago
parent
commit
5a2eb1ff68
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/erp/service/impl/ErpMaterialServiceImpl.java

2
ruoyi-admin/src/main/java/com/ruoyi/erp/service/impl/ErpMaterialServiceImpl.java

@ -74,6 +74,8 @@ public class ErpMaterialServiceImpl implements IErpMaterialService
@Override
public int insertErpMaterial(ErpMaterial erpMaterial)
{
String loginName = ShiroUtils.getLoginName();
erpMaterial.setCreateBy(loginName);
int result = erpMaterialMapper.insertErpMaterial(erpMaterial);
Long id = erpMaterial.getId();
String fileIdStr = erpMaterial.getFileIdStr();

Loading…
Cancel
Save