Commit 00b26146 by liuyang

修复物料清单来源类型默认为加工,设备日志添加新增接口

parent cac4cbc1
......@@ -213,4 +213,15 @@ public class ServiceHGSB010 extends ServiceEPBase {
}
return inInfo;
}
@Override
public EiInfo insert(EiInfo inInfo) {
List<HGSB010> resultRows = MapUtils.toDaoEPBases(inInfo, HGSB010.class);
for (HGSB010 hgsb010: resultRows) {
hgsb010.setEquipmentType("STARUS_TYPE");
DaoUtils.insert(HGSB010.INSERT, hgsb010);
}
return super.insert(inInfo);
}
}
......@@ -163,7 +163,7 @@ public class HGSC004A extends DaoEPBase {
private String updatedBy = " "; /* 更新人*/
private String updatedName = " "; /* 修改人名称*/
private String updatedTime = " "; /* 更新时间*/
private Integer inventSource; /* 物料来源 1加工 2外购*/
private Integer inventSource = 0; /* 物料来源 1加工 2外购*/
@ExcelAnno(index = 4)
private String material = " "; /* 材质*/
@ExcelAnno(index = 11)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment