Merge branch 'dev' into test

yun-zuoyi
曾贞一 6 years ago
commit f30a40520b

@ -40,6 +40,10 @@ public class MesEvent extends BaseBean {
@ApiParam("事件类型") @ApiParam("事件类型")
private Integer eventType; private Integer eventType;
@Column(name="BUTTON_CODE")
@ApiParam("按钮代码")
private String buttonCode;
public int getEventTypeVal() { public int getEventTypeVal() {
return this.eventType == null ? 0 : this.eventType; return this.eventType == null ? 0 : this.eventType;
} }

@ -346,6 +346,23 @@ public class MesHqlPack {
} }
/** /**
* MES FastDfs
* @param mesESOP
* @return
*/
public static DdlPackBean getMesESOP(MesESOP mesESOP, String organizeCode) {
DdlPackBean packBean = getAllBaseDataByNormalPro(mesESOP, organizeCode);
if (StringUtils.isNotEmpty(mesESOP.getWorkCenterCode())){
DdlPreparedPack.getStringEqualPack(mesESOP.getWorkCenterCode(), "workCenterCode", packBean);
}
if (StringUtils.isNotEmpty(mesESOP.getPartNo())){
DdlPreparedPack.getStringEqualPack(mesESOP.getPartNo(), "partNo", packBean);
}
return packBean;
}
/**
* MES * MES
* @param process * @param process
* @return * @return

Loading…
Cancel
Save