调整折扣活动发布

This commit is contained in:
panshuling321 2022-04-22 17:52:05 +08:00
parent 34418b0749
commit 2f2b2092fd
2 changed files with 6 additions and 7 deletions

View File

@ -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;
/** /**
* 创建人 * 创建人

View File

@ -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>