hdy
2025-03-11 f23e2ce66fdf032b2560d5547c77f30eb8de0c75
billion-main/src/main/java/com/billion/main/bs/service/impl/BsMaterialInfoServiceImpl.java
@@ -10,6 +10,8 @@
import com.billion.main.bs.domain.BsMaterialInfo;
import com.billion.main.bs.service.IBsMaterialInfoService;
import static org.apache.commons.lang3.SystemUtils.getUserName;
/**
 * 物料信息Service业务层处理
 * 
@@ -56,6 +58,7 @@
    public int insertBsMaterialInfo(BsMaterialInfo bsMaterialInfo)
    {
        bsMaterialInfo.setCreateTime(DateUtils.getNowDate());
        bsMaterialInfo.setCreateBy(getUserName());
        return bsMaterialInfoMapper.insertBsMaterialInfo(bsMaterialInfo);
    }
@@ -69,6 +72,7 @@
    public int updateBsMaterialInfo(BsMaterialInfo bsMaterialInfo)
    {
        bsMaterialInfo.setUpdateTime(DateUtils.getNowDate());
        bsMaterialInfo.setUpdateBy(getUserName());
        return bsMaterialInfoMapper.updateBsMaterialInfo(bsMaterialInfo);
    }