|
@ -43,7 +43,6 @@ |
|
|
</trim> |
|
|
</trim> |
|
|
</if> |
|
|
</if> |
|
|
</foreach> |
|
|
</foreach> |
|
|
and is_del = 0 |
|
|
|
|
|
</where> |
|
|
</where> |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Update_By_Example_Where_Clause"> |
|
|
<sql id="Update_By_Example_Where_Clause"> |
|
@ -97,7 +96,7 @@ |
|
|
select |
|
|
select |
|
|
<include refid="Base_Column_List" /> |
|
|
<include refid="Base_Column_List" /> |
|
|
from t_ht_report |
|
|
from t_ht_report |
|
|
where id = #{id,jdbcType=BIGINT} and is_del = 0 |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</select> |
|
|
</select> |
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|
|
delete from t_ht_report |
|
|
delete from t_ht_report |
|
@ -118,7 +117,8 @@ |
|
|
values (#{id,jdbcType=BIGINT}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
|
|
values (#{id,jdbcType=BIGINT}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
|
|
#{parentCode,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{totalScore,jdbcType=INTEGER}, |
|
|
#{parentCode,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{totalScore,jdbcType=INTEGER}, |
|
|
#{type,jdbcType=TINYINT}, #{isShow,jdbcType=TINYINT}, #{sort,jdbcType=INTEGER}, |
|
|
#{type,jdbcType=TINYINT}, #{isShow,jdbcType=TINYINT}, #{sort,jdbcType=INTEGER}, |
|
|
#{remark,jdbcType=VARCHAR}, now(), now(), 0) |
|
|
#{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
|
|
#{isDel,jdbcType=TINYINT}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtReport"> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtReport"> |
|
|
insert into t_ht_report |
|
|
insert into t_ht_report |
|
@ -153,9 +153,15 @@ |
|
|
<if test="remark != null"> |
|
|
<if test="remark != null"> |
|
|
remark, |
|
|
remark, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="createTime != null"> |
|
|
create_time, |
|
|
create_time, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="updateTime != null"> |
|
|
update_time, |
|
|
update_time, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="isDel != null"> |
|
|
is_del, |
|
|
is_del, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
@ -188,7 +194,15 @@ |
|
|
<if test="remark != null"> |
|
|
<if test="remark != null"> |
|
|
#{remark,jdbcType=VARCHAR}, |
|
|
#{remark,jdbcType=VARCHAR}, |
|
|
</if> |
|
|
</if> |
|
|
now(), now(), 0, |
|
|
<if test="createTime != null"> |
|
|
|
|
|
#{createTime,jdbcType=TIMESTAMP}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="updateTime != null"> |
|
|
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="isDel != null"> |
|
|
|
|
|
#{isDel,jdbcType=TINYINT}, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
<select id="countByExample" parameterType="com.ccsens.ht.bean.po.HtReportExample" resultType="java.lang.Long"> |
|
|
<select id="countByExample" parameterType="com.ccsens.ht.bean.po.HtReportExample" resultType="java.lang.Long"> |
|
|