Browse Source

date

master
6 years ago
parent
commit
333bf4abfc
  1. 4
      ht/src/main/java/com/ccsens/ht/bean/po/HtTitle.java
  2. 3
      ht/src/main/resources/mapper_raw/HtPositionMapper.xml
  3. 1
      ht/src/main/resources/mapper_raw/HtQuestionIntroducerMapper.xml
  4. 1
      ht/src/main/resources/mapper_raw/HtQuestionMapper.xml
  5. 1
      ht/src/main/resources/mapper_raw/HtQuestionOptionMapper.xml
  6. 1
      ht/src/main/resources/mapper_raw/HtQuestionScoringRuleMapper.xml
  7. 22
      ht/src/main/resources/mapper_raw/HtReportMapper.xml
  8. 20
      ht/src/main/resources/mapper_raw/HtTitleMapper.xml

4
ht/src/main/java/com/ccsens/ht/bean/po/HtTitle.java

@ -1,4 +1,4 @@
package com.ccsens.ht.bean.po; spackage com.ccsens.ht.bean.po;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
@ -12,7 +12,7 @@ public class HtTitle implements Serializable {
private Long superidorId; private Long superidorId;
private String remark = ""; private String remark;
private Date createTime; private Date createTime;

3
ht/src/main/resources/mapper_raw/HtPositionMapper.xml

@ -42,7 +42,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">
@ -117,7 +116,7 @@
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}, #{name,jdbcType=VARCHAR}, values (#{id,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}, #{name,jdbcType=VARCHAR},
#{superiorDepartmentId,jdbcType=BIGINT}, #{superiorId,jdbcType=BIGINT}, #{relevancy,jdbcType=VARCHAR}, #{superiorDepartmentId,jdbcType=BIGINT}, #{superiorId,jdbcType=BIGINT}, #{relevancy,jdbcType=VARCHAR},
#{hasManage,jdbcType=TINYINT}, #{hasAudit,jdbcType=TINYINT}, #{remark,jdbcType=VARCHAR}, #{hasManage,jdbcType=TINYINT}, #{hasAudit,jdbcType=TINYINT}, #{remark,jdbcType=VARCHAR},
now(), now(), 0 #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT}
) )
</insert> </insert>
<insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtPosition"> <insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtPosition">

1
ht/src/main/resources/mapper_raw/HtQuestionIntroducerMapper.xml

@ -38,7 +38,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">

1
ht/src/main/resources/mapper_raw/HtQuestionMapper.xml

@ -49,7 +49,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">

1
ht/src/main/resources/mapper_raw/HtQuestionOptionMapper.xml

@ -41,7 +41,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">

1
ht/src/main/resources/mapper_raw/HtQuestionScoringRuleMapper.xml

@ -38,7 +38,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">

22
ht/src/main/resources/mapper_raw/HtReportMapper.xml

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

20
ht/src/main/resources/mapper_raw/HtTitleMapper.xml

@ -107,8 +107,8 @@
superidor_id, remark, create_time, superidor_id, remark, create_time,
update_time, is_del) update_time, is_del)
values (#{id,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}, #{title,jdbcType=VARCHAR}, values (#{id,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}, #{title,jdbcType=VARCHAR},
#{superidorId,jdbcType=BIGINT}, #{remark,jdbcType=VARCHAR}, now(), #{superidorId,jdbcType=BIGINT}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
now(), 0) #{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT})
</insert> </insert>
<insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtTitle"> <insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtTitle">
insert into t_ht_title insert into t_ht_title
@ -128,9 +128,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">
@ -148,7 +154,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.HtTitleExample" resultType="java.lang.Long"> <select id="countByExample" parameterType="com.ccsens.ht.bean.po.HtTitleExample" resultType="java.lang.Long">

Loading…
Cancel
Save