yun-zuoyi
贾文涛 5 years ago
commit 2cdb6af2f5

@ -1232,4 +1232,23 @@ public class CoreHqlPack {
return ddlPackBean;
}
public static DdlPackBean packHqlCheckSysDepartmentOnly(SysDepartment sysDepartment){
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean(sysDepartment);
DdlPreparedPack.getNumNOEqualPack(sysDepartment.getId(), "id", ddlPackBean);
DdlPreparedPack.getNumEqualPack(sysDepartment.getDepartmentCode(), "departmentCode", ddlPackBean);
return ddlPackBean;
}
public static DdlPackBean packHqlCheckSysOrganizeOnly(SysOrganize sysOrganize){
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean(sysOrganize);
DdlPreparedPack.getNumNOEqualPack(sysOrganize.getId(), "id", ddlPackBean);
DdlPreparedPack.getNumEqualPack(sysOrganize.getOrganizeCode(), "organizeCode", ddlPackBean);
return ddlPackBean;
}
}

@ -1,6 +1,8 @@
package cn.estsh.i3plus.pojo.softswitch.bean;
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.base.enumutil.BlockSoftSwitchEnumUtil;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api;
@ -54,6 +56,7 @@ public class BsSuitDataDetail extends BaseBean {
@Column(name = "CASE_TYPE_ID")
@ApiParam(value = "套件类型id(枚举)")
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.CASE_TYPE.class)
private Integer caseTypeId;
@Column(name = "SUIT_TYPE_NAME_RDD")
@ -81,8 +84,14 @@ public class BsSuitDataDetail extends BaseBean {
@Column(name = "PROCESS_STATE")
@ApiParam(value = "处理状态")
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.SUIT_PROCESS_STATUS.class)
private Integer processState;
public String getProcessStateTxt() {
return processState == null ? BlockSoftSwitchEnumUtil.SUIT_PROCESS_STATUS.UNPROCESSED.getDescription() :
BlockSoftSwitchEnumUtil.SUIT_PROCESS_STATUS.valueOfDescription(processState);
}
@Column(name = "PROCESS_TIME")
@ApiParam(value = "处理时间")
private String processTime;

Loading…
Cancel
Save