diff --git a/ht/src/main/java/com/ccsens/ht/bean/po/HtTitle.java b/ht/src/main/java/com/ccsens/ht/bean/po/HtTitle.java index 1f79eede..21898493 100644 --- a/ht/src/main/java/com/ccsens/ht/bean/po/HtTitle.java +++ b/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.util.Date; @@ -12,7 +12,7 @@ public class HtTitle implements Serializable { private Long superidorId; - private String remark = ""; + private String remark; private Date createTime; diff --git a/ht/src/main/resources/mapper_raw/HtPositionMapper.xml b/ht/src/main/resources/mapper_raw/HtPositionMapper.xml index bf0d5057..632674f2 100644 --- a/ht/src/main/resources/mapper_raw/HtPositionMapper.xml +++ b/ht/src/main/resources/mapper_raw/HtPositionMapper.xml @@ -42,7 +42,6 @@ - and is_del = 0 @@ -117,7 +116,7 @@ values (#{id,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}, #{name,jdbcType=VARCHAR}, #{superiorDepartmentId,jdbcType=BIGINT}, #{superiorId,jdbcType=BIGINT}, #{relevancy,jdbcType=VARCHAR}, #{hasManage,jdbcType=TINYINT}, #{hasAudit,jdbcType=TINYINT}, #{remark,jdbcType=VARCHAR}, - now(), now(), 0 + #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT} ) diff --git a/ht/src/main/resources/mapper_raw/HtQuestionIntroducerMapper.xml b/ht/src/main/resources/mapper_raw/HtQuestionIntroducerMapper.xml index 80d777fb..cd7e98ba 100644 --- a/ht/src/main/resources/mapper_raw/HtQuestionIntroducerMapper.xml +++ b/ht/src/main/resources/mapper_raw/HtQuestionIntroducerMapper.xml @@ -38,7 +38,6 @@ - and is_del = 0 diff --git a/ht/src/main/resources/mapper_raw/HtQuestionMapper.xml b/ht/src/main/resources/mapper_raw/HtQuestionMapper.xml index 5dc231bb..8675e6b5 100644 --- a/ht/src/main/resources/mapper_raw/HtQuestionMapper.xml +++ b/ht/src/main/resources/mapper_raw/HtQuestionMapper.xml @@ -49,7 +49,6 @@ - and is_del = 0 diff --git a/ht/src/main/resources/mapper_raw/HtQuestionOptionMapper.xml b/ht/src/main/resources/mapper_raw/HtQuestionOptionMapper.xml index 1178d065..cd7506d0 100644 --- a/ht/src/main/resources/mapper_raw/HtQuestionOptionMapper.xml +++ b/ht/src/main/resources/mapper_raw/HtQuestionOptionMapper.xml @@ -41,7 +41,6 @@ - and is_del = 0 diff --git a/ht/src/main/resources/mapper_raw/HtQuestionScoringRuleMapper.xml b/ht/src/main/resources/mapper_raw/HtQuestionScoringRuleMapper.xml index 62d6abfb..267044bf 100644 --- a/ht/src/main/resources/mapper_raw/HtQuestionScoringRuleMapper.xml +++ b/ht/src/main/resources/mapper_raw/HtQuestionScoringRuleMapper.xml @@ -38,7 +38,6 @@ - and is_del = 0 diff --git a/ht/src/main/resources/mapper_raw/HtReportMapper.xml b/ht/src/main/resources/mapper_raw/HtReportMapper.xml index 423036a7..eae0fd18 100644 --- a/ht/src/main/resources/mapper_raw/HtReportMapper.xml +++ b/ht/src/main/resources/mapper_raw/HtReportMapper.xml @@ -43,7 +43,6 @@ - and is_del = 0 @@ -97,7 +96,7 @@ select from t_ht_report - where id = #{id,jdbcType=BIGINT} and is_del = 0 + where id = #{id,jdbcType=BIGINT} delete from t_ht_report @@ -118,7 +117,8 @@ values (#{id,jdbcType=BIGINT}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{parentCode,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{totalScore,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 into t_ht_report @@ -153,9 +153,15 @@ remark, + create_time, + + update_time, + + is_del, + @@ -188,7 +194,15 @@ #{remark,jdbcType=VARCHAR}, - now(), now(), 0, + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{isDel,jdbcType=TINYINT}, +