调整折扣活动发布
This commit is contained in:
parent
34418b0749
commit
2f2b2092fd
@ -65,12 +65,12 @@ public class XhpcActivityDiscountDomain implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 状态(0-编辑,1-提交待审核,2-审核失败,3-审核通过,4-立即失效)
|
* 状态(0-编辑,1-提交待审核,2-审核失败,3-审核通过,4-立即失效)
|
||||||
*/
|
*/
|
||||||
private Short status = 0;
|
private Integer status = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除标识(0-正常,2-删除)
|
* 删除标识(0-正常,2-删除)
|
||||||
*/
|
*/
|
||||||
private Short delFlag = 0;
|
private Integer delFlag = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建人
|
* 创建人
|
||||||
|
|||||||
@ -12,8 +12,8 @@
|
|||||||
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/>
|
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId"/>
|
||||||
<result column="start_time" jdbcType="TIMESTAMP" property="startTime"/>
|
<result column="start_time" jdbcType="TIMESTAMP" property="startTime"/>
|
||||||
<result column="end_time" jdbcType="TIMESTAMP" property="endTime"/>
|
<result column="end_time" jdbcType="TIMESTAMP" property="endTime"/>
|
||||||
<result column="status" jdbcType="SMALLINT" property="status"/>
|
<result column="status" jdbcType="INTEGER" property="status"/>
|
||||||
<result column="del_flag" jdbcType="SMALLINT" property="delFlag"/>
|
<result column="del_flag" jdbcType="INTEGER" property="delFlag"/>
|
||||||
<result column="create_by" jdbcType="VARCHAR" property="createBy"/>
|
<result column="create_by" jdbcType="VARCHAR" property="createBy"/>
|
||||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
||||||
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/>
|
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/>
|
||||||
@ -202,7 +202,7 @@
|
|||||||
select
|
select
|
||||||
<include refid="Base_Column_List"/>
|
<include refid="Base_Column_List"/>
|
||||||
from xhpc_activity_discount ad
|
from xhpc_activity_discount ad
|
||||||
where ad.del_flag=0 and ad.status=#{status} and ad.template_id=#{params.template}
|
where ad.del_flag=0 and ad.status=#{status} and ad.template_id=#{templateId}
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@ -211,7 +211,6 @@
|
|||||||
select
|
select
|
||||||
<include refid="Base_Column_List"/>
|
<include refid="Base_Column_List"/>
|
||||||
from xhpc_activity_discount ad
|
from xhpc_activity_discount ad
|
||||||
where ad.del_flag=#{delflag} and ad.template_id=#{params.template}
|
where ad.del_flag=#{delflag} and ad.template_id=#{templateId}
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
x
Reference in New Issue
Block a user