This commit is contained in:
parent
2bd1fbf4e5
commit
62c81d8fa0
|
|
@ -0,0 +1,24 @@
|
||||||
|
package com.bonus.common.biz.enums;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author ma_sh
|
||||||
|
* @version : 1.0
|
||||||
|
* 租赁需求大厅状态枚举
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
public enum LeaseInfoEnum {
|
||||||
|
|
||||||
|
LEASE_PENDING_ORDER(0, "待接单"),
|
||||||
|
LEASE_ORDER_RECEIVED(1, "已接单"),
|
||||||
|
LEASE_PAST_DUE(2, "已到期");
|
||||||
|
|
||||||
|
private final Integer status;
|
||||||
|
private final String statusName;
|
||||||
|
|
||||||
|
LeaseInfoEnum(Integer status, String statusName) {
|
||||||
|
this.status = status;
|
||||||
|
this.statusName = statusName;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
package com.bonus.common.biz.enums;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author : 阮世耀
|
|
||||||
* @version : 1.0
|
|
||||||
* 领料任务状态枚举
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
public enum LeaseTaskStatusEnum {
|
|
||||||
|
|
||||||
LEASE_TASK_TO_PUBLISHED(1, "待发布"),
|
|
||||||
LEASE_TASK_TO_AUDIT(2, "待审核"),
|
|
||||||
LEASE_TASK_IN_PROGRESS(3, "出库进行中"),
|
|
||||||
LEASE_TASK_FINISHED(4, "出库已完成");
|
|
||||||
|
|
||||||
private final Integer status;
|
|
||||||
private final String statusName;
|
|
||||||
|
|
||||||
LeaseTaskStatusEnum(Integer status, String statusName) {
|
|
||||||
this.status = status;
|
|
||||||
this.statusName = statusName;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -58,8 +58,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="taskType != null">#{taskType},</if>
|
<if test="taskType != null">#{taskType},</if>
|
||||||
<if test="taskId != null">#{taskId},</if>
|
<if test="taskId != null">#{taskId},</if>
|
||||||
<if test="modelId != null">#{modelId},</if>
|
<if test="modelId != null">#{modelId},</if>
|
||||||
<if test="fileName != null">#{name},</if>
|
<if test="fileName != null">#{fileName},</if>
|
||||||
<if test="fileUrl != null">#{url},</if>
|
<if test="fileUrl != null">#{fileUrl},</if>
|
||||||
<if test="fileType != null">#{fileType},</if>
|
<if test="fileType != null">#{fileType},</if>
|
||||||
<if test="createBy != null">#{createBy},</if>
|
<if test="createBy != null">#{createBy},</if>
|
||||||
now()
|
now()
|
||||||
|
|
@ -89,8 +89,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="taskType != null">task_type = #{taskType},</if>
|
<if test="taskType != null">task_type = #{taskType},</if>
|
||||||
<if test="taskId != null">task_id = #{taskId},</if>
|
<if test="taskId != null">task_id = #{taskId},</if>
|
||||||
<if test="modelId != null">model_id = #{modelId},</if>
|
<if test="modelId != null">model_id = #{modelId},</if>
|
||||||
<if test="fileName != null">name = #{name},</if>
|
<if test="fileName != null">name = #{fileName},</if>
|
||||||
<if test="fileUrl != null">url = #{url},</if>
|
<if test="fileUrl != null">url = #{fileUrl},</if>
|
||||||
<if test="fileType != null">file_type = #{fileType},</if>
|
<if test="fileType != null">file_type = #{fileType},</if>
|
||||||
<if test="createBy != null">create_by = #{createBy},</if>
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
update_time = now()
|
update_time = now()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue