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