Commit 47bde39e authored by 赵建伟's avatar 赵建伟

update codes

parent 0a6fb1a3
package com.gmei.data.dqmp.domain;
public class TblIndicatorOperatorInfo {
private Integer id;
private String indicatorName;
private String operatorExpr;
private String comment;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getIndicatorName() {
return indicatorName;
}
public void setIndicatorName(String indicatorName) {
this.indicatorName = indicatorName == null ? null : indicatorName.trim();
}
public String getOperatorExpr() {
return operatorExpr;
}
public void setOperatorExpr(String operatorExpr) {
this.operatorExpr = operatorExpr == null ? null : operatorExpr.trim();
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment == null ? null : comment.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
public class TblResultCheckRefer {
private Integer id;
private String checkDbName;
private String checkTbName;
private String checkColName;
private String referDbName;
private String referTbName;
private String referColName;
private Long allNum;
private Long matchedNum;
private Double matchedRate;
private String partitionDate;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getCheckDbName() {
return checkDbName;
}
public void setCheckDbName(String checkDbName) {
this.checkDbName = checkDbName == null ? null : checkDbName.trim();
}
public String getCheckTbName() {
return checkTbName;
}
public void setCheckTbName(String checkTbName) {
this.checkTbName = checkTbName == null ? null : checkTbName.trim();
}
public String getCheckColName() {
return checkColName;
}
public void setCheckColName(String checkColName) {
this.checkColName = checkColName == null ? null : checkColName.trim();
}
public String getReferDbName() {
return referDbName;
}
public void setReferDbName(String referDbName) {
this.referDbName = referDbName == null ? null : referDbName.trim();
}
public String getReferTbName() {
return referTbName;
}
public void setReferTbName(String referTbName) {
this.referTbName = referTbName == null ? null : referTbName.trim();
}
public String getReferColName() {
return referColName;
}
public void setReferColName(String referColName) {
this.referColName = referColName == null ? null : referColName.trim();
}
public Long getAllNum() {
return allNum;
}
public void setAllNum(Long allNum) {
this.allNum = allNum;
}
public Long getMatchedNum() {
return matchedNum;
}
public void setMatchedNum(Long matchedNum) {
this.matchedNum = matchedNum;
}
public Double getMatchedRate() {
return matchedRate;
}
public void setMatchedRate(Double matchedRate) {
this.matchedRate = matchedRate;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
public class TblResultCheckUnblank {
private Integer id;
private String dbName;
private String tbName;
private String colName;
private Long allNum;
private Long unblankNum;
private Double unblankRate;
private String partitionDate;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public Long getAllNum() {
return allNum;
}
public void setAllNum(Long allNum) {
this.allNum = allNum;
}
public Long getUnblankNum() {
return unblankNum;
}
public void setUnblankNum(Long unblankNum) {
this.unblankNum = unblankNum;
}
public Double getUnblankRate() {
return unblankRate;
}
public void setUnblankRate(Double unblankRate) {
this.unblankRate = unblankRate;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
public class TblResultCheckUnique {
private Integer id;
private String dbName;
private String tbName;
private String colName;
private Long allNum;
private Long uniqueNum;
private Double uniqueRate;
private String partitionDate;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public Long getAllNum() {
return allNum;
}
public void setAllNum(Long allNum) {
this.allNum = allNum;
}
public Long getUniqueNum() {
return uniqueNum;
}
public void setUniqueNum(Long uniqueNum) {
this.uniqueNum = uniqueNum;
}
public Double getUniqueRate() {
return uniqueRate;
}
public void setUniqueRate(Double uniqueRate) {
this.uniqueRate = uniqueRate;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
public class TblResultMonitorSpecial {
private Integer id;
private String dbName;
private String tbName;
private String timeColName;
private String startTime;
private String endTime;
private Long countNum;
private String partitionDate;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getTimeColName() {
return timeColName;
}
public void setTimeColName(String timeColName) {
this.timeColName = timeColName == null ? null : timeColName.trim();
}
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime == null ? null : startTime.trim();
}
public String getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime == null ? null : endTime.trim();
}
public Long getCountNum() {
return countNum;
}
public void setCountNum(Long countNum) {
this.countNum = countNum;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.domain;
public class TblResultMonitorVolatility {
private Integer id;
private String dbName;
private String tbName;
private String colName;
private String indicatorType;
private Long indicatorValue;
private String partitionDate;
private String createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDbName() {
return dbName;
}
public void setDbName(String dbName) {
this.dbName = dbName == null ? null : dbName.trim();
}
public String getTbName() {
return tbName;
}
public void setTbName(String tbName) {
this.tbName = tbName == null ? null : tbName.trim();
}
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName == null ? null : colName.trim();
}
public String getIndicatorType() {
return indicatorType;
}
public void setIndicatorType(String indicatorType) {
this.indicatorType = indicatorType == null ? null : indicatorType.trim();
}
public Long getIndicatorValue() {
return indicatorValue;
}
public void setIndicatorValue(Long indicatorValue) {
this.indicatorValue = indicatorValue;
}
public String getPartitionDate() {
return partitionDate;
}
public void setPartitionDate(String partitionDate) {
this.partitionDate = partitionDate == null ? null : partitionDate.trim();
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime == null ? null : createTime.trim();
}
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo;
import com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblIndicatorOperatorInfoMapper {
int countByExample(TblIndicatorOperatorInfoCriteria example);
int deleteByExample(TblIndicatorOperatorInfoCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblIndicatorOperatorInfo record);
int insertSelective(TblIndicatorOperatorInfo record);
List<TblIndicatorOperatorInfo> selectByExample(TblIndicatorOperatorInfoCriteria example);
TblIndicatorOperatorInfo selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblIndicatorOperatorInfo record, @Param("example") TblIndicatorOperatorInfoCriteria example);
int updateByExample(@Param("record") TblIndicatorOperatorInfo record, @Param("example") TblIndicatorOperatorInfoCriteria example);
int updateByPrimaryKeySelective(TblIndicatorOperatorInfo record);
int updateByPrimaryKey(TblIndicatorOperatorInfo record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultCheckRefer;
import com.gmei.data.dqmp.domain.TblResultCheckReferCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultCheckReferMapper {
int countByExample(TblResultCheckReferCriteria example);
int deleteByExample(TblResultCheckReferCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultCheckRefer record);
int insertSelective(TblResultCheckRefer record);
List<TblResultCheckRefer> selectByExample(TblResultCheckReferCriteria example);
TblResultCheckRefer selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultCheckRefer record, @Param("example") TblResultCheckReferCriteria example);
int updateByExample(@Param("record") TblResultCheckRefer record, @Param("example") TblResultCheckReferCriteria example);
int updateByPrimaryKeySelective(TblResultCheckRefer record);
int updateByPrimaryKey(TblResultCheckRefer record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultCheckUnblank;
import com.gmei.data.dqmp.domain.TblResultCheckUnblankCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultCheckUnblankMapper {
int countByExample(TblResultCheckUnblankCriteria example);
int deleteByExample(TblResultCheckUnblankCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultCheckUnblank record);
int insertSelective(TblResultCheckUnblank record);
List<TblResultCheckUnblank> selectByExample(TblResultCheckUnblankCriteria example);
TblResultCheckUnblank selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultCheckUnblank record, @Param("example") TblResultCheckUnblankCriteria example);
int updateByExample(@Param("record") TblResultCheckUnblank record, @Param("example") TblResultCheckUnblankCriteria example);
int updateByPrimaryKeySelective(TblResultCheckUnblank record);
int updateByPrimaryKey(TblResultCheckUnblank record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultCheckUnique;
import com.gmei.data.dqmp.domain.TblResultCheckUniqueCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultCheckUniqueMapper {
int countByExample(TblResultCheckUniqueCriteria example);
int deleteByExample(TblResultCheckUniqueCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultCheckUnique record);
int insertSelective(TblResultCheckUnique record);
List<TblResultCheckUnique> selectByExample(TblResultCheckUniqueCriteria example);
TblResultCheckUnique selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultCheckUnique record, @Param("example") TblResultCheckUniqueCriteria example);
int updateByExample(@Param("record") TblResultCheckUnique record, @Param("example") TblResultCheckUniqueCriteria example);
int updateByPrimaryKeySelective(TblResultCheckUnique record);
int updateByPrimaryKey(TblResultCheckUnique record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultMonitorSpecial;
import com.gmei.data.dqmp.domain.TblResultMonitorSpecialCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultMonitorSpecialMapper {
int countByExample(TblResultMonitorSpecialCriteria example);
int deleteByExample(TblResultMonitorSpecialCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultMonitorSpecial record);
int insertSelective(TblResultMonitorSpecial record);
List<TblResultMonitorSpecial> selectByExample(TblResultMonitorSpecialCriteria example);
TblResultMonitorSpecial selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultMonitorSpecial record, @Param("example") TblResultMonitorSpecialCriteria example);
int updateByExample(@Param("record") TblResultMonitorSpecial record, @Param("example") TblResultMonitorSpecialCriteria example);
int updateByPrimaryKeySelective(TblResultMonitorSpecial record);
int updateByPrimaryKey(TblResultMonitorSpecial record);
}
\ No newline at end of file
package com.gmei.data.dqmp.mapper;
import com.gmei.data.dqmp.domain.TblResultMonitorVolatility;
import com.gmei.data.dqmp.domain.TblResultMonitorVolatilityCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TblResultMonitorVolatilityMapper {
int countByExample(TblResultMonitorVolatilityCriteria example);
int deleteByExample(TblResultMonitorVolatilityCriteria example);
int deleteByPrimaryKey(Integer id);
int insert(TblResultMonitorVolatility record);
int insertSelective(TblResultMonitorVolatility record);
List<TblResultMonitorVolatility> selectByExample(TblResultMonitorVolatilityCriteria example);
TblResultMonitorVolatility selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") TblResultMonitorVolatility record, @Param("example") TblResultMonitorVolatilityCriteria example);
int updateByExample(@Param("record") TblResultMonitorVolatility record, @Param("example") TblResultMonitorVolatilityCriteria example);
int updateByPrimaryKeySelective(TblResultMonitorVolatility record);
int updateByPrimaryKey(TblResultMonitorVolatility record);
}
\ No newline at end of file
...@@ -35,19 +35,19 @@ ...@@ -35,19 +35,19 @@
<!-- 需要生成的数据库表 --> <!-- 需要生成的数据库表 -->
<!-- <table tableName="tbl_client_version_info" domainObjectName="TblClientVersionInfo"/> --> <!-- <table tableName="tbl_client_version_info" domainObjectName="TblClientVersionInfo"/> -->
<!-- <table tableName="tbl_check_single_sql" domainObjectName="TblCheckSingleSql"/> --> <table tableName="tbl_sql_check_single" domainObjectName="TblSqlCheckSingle"/>
<!-- <table tableName="tbl_check_multiple_sql" domainObjectName="TblCheckMultipleSql"/> --> <table tableName="tbl_sql_check_multiple" domainObjectName="TblSqlCheckMultiple"/>
<!-- <table tableName="tbl_monitor_volatility_sql" domainObjectName="TblMonitorVolatilitySql"/> --> <table tableName="tbl_sql_monitor_volatility" domainObjectName="TblSqlMonitorVolatility"/>
<!-- <table tableName="tbl_monitor_special_sql" domainObjectName="TblMonitorSpecialSql"/> --> <table tableName="tbl_sql_monitor_special" domainObjectName="TblSqlMonitorSpecial"/>
<!-- <table tableName="tbl_result_check_unique" domainObjectName="TblResultCheckUnique"/> --> <table tableName="tbl_result_check_unique" domainObjectName="TblResultCheckUnique"/>
<!-- <table tableName="tbl_result_check_unblank" domainObjectName="TblResultCheckUnblank"/> --> <table tableName="tbl_result_check_unblank" domainObjectName="TblResultCheckUnblank"/>
<!-- <table tableName="tbl_result_check_refer" domainObjectName="TblResultCheckRefer"/> --> <table tableName="tbl_result_check_refer" domainObjectName="TblResultCheckRefer"/>
<!-- <table tableName="tbl_result_monitor_volatility" domainObjectName="TblResultMonitorVolatility"/> --> <table tableName="tbl_result_monitor_volatility" domainObjectName="TblResultMonitorVolatility"/>
<!-- <table tableName="tbl_result_monitor_special" domainObjectName="TblResultMonitorSpecial"/> --> <table tableName="tbl_result_monitor_special" domainObjectName="TblResultMonitorSpecial"/>
<!-- <table tableName="tbl_indicator_operator_info" domainObjectName="TblIndicatorOperatorInfo"/> --> <table tableName="tbl_indicator_operator_info" domainObjectName="TblIndicatorOperatorInfo"/>
<!-- <table tableName="tbl_rule_template" domainObjectName="TblRuleTemplate"/> --> <!-- <table tableName="tbl_rule_template" domainObjectName="TblRuleTemplate"/> -->
<!-- <table tableName="tbl_rule_simple_info" domainObjectName="TblRuleSimpleInfo"/> --> <table tableName="tbl_rule_info_simple" domainObjectName="TblRuleInfoSimple"/>
<!-- <table tableName="tbl_rule_duplex_info" domainObjectName="TblRuleDuplexInfo"/> --> <table tableName="tbl_rule_info_duplex" domainObjectName="TblRuleInfoDuplex"/>
<table tableName="tbl_sys_param_info" domainObjectName="TblSysParamInfo"/> <!-- <table tableName="tbl_sys_param_info" domainObjectName="TblSysParamInfo"/> -->
</context> </context>
</generatorConfiguration> </generatorConfiguration>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gmei.data.dqmp.mapper.TblIndicatorOperatorInfoMapper" >
<resultMap id="BaseResultMap" type="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="indicator_name" property="indicatorName" jdbcType="VARCHAR" />
<result column="operator_expr" property="operatorExpr" jdbcType="VARCHAR" />
<result column="comment" property="comment" jdbcType="VARCHAR" />
</resultMap>
<sql id="Example_Where_Clause" >
<where >
<foreach collection="oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause" >
<where >
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
<if test="criteria.valid" >
<trim prefix="(" suffix=")" prefixOverrides="and" >
<foreach collection="criteria.criteria" item="criterion" >
<choose >
<when test="criterion.noValue" >
and ${criterion.condition}
</when>
<when test="criterion.singleValue" >
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue" >
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue" >
and ${criterion.condition}
<foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List" >
id, indicator_name, operator_expr, comment
</sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria" >
select
<if test="distinct" >
distinct
</if>
<include refid="Base_Column_List" />
from tbl_indicator_operator_info
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null" >
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
<include refid="Base_Column_List" />
from tbl_indicator_operator_info
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
delete from tbl_indicator_operator_info
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria" >
delete from tbl_indicator_operator_info
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
insert into tbl_indicator_operator_info (id, indicator_name, operator_expr,
comment)
values (#{id,jdbcType=INTEGER}, #{indicatorName,jdbcType=VARCHAR}, #{operatorExpr,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
insert into tbl_indicator_operator_info
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
id,
</if>
<if test="indicatorName != null" >
indicator_name,
</if>
<if test="operatorExpr != null" >
operator_expr,
</if>
<if test="comment != null" >
comment,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >
#{id,jdbcType=INTEGER},
</if>
<if test="indicatorName != null" >
#{indicatorName,jdbcType=VARCHAR},
</if>
<if test="operatorExpr != null" >
#{operatorExpr,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
#{comment,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfoCriteria" resultType="java.lang.Integer" >
select count(*) from tbl_indicator_operator_info
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map" >
update tbl_indicator_operator_info
<set >
<if test="record.id != null" >
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.indicatorName != null" >
indicator_name = #{record.indicatorName,jdbcType=VARCHAR},
</if>
<if test="record.operatorExpr != null" >
operator_expr = #{record.operatorExpr,jdbcType=VARCHAR},
</if>
<if test="record.comment != null" >
comment = #{record.comment,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map" >
update tbl_indicator_operator_info
set id = #{record.id,jdbcType=INTEGER},
indicator_name = #{record.indicatorName,jdbcType=VARCHAR},
operator_expr = #{record.operatorExpr,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR}
<if test="_parameter != null" >
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
update tbl_indicator_operator_info
<set >
<if test="indicatorName != null" >
indicator_name = #{indicatorName,jdbcType=VARCHAR},
</if>
<if test="operatorExpr != null" >
operator_expr = #{operatorExpr,jdbcType=VARCHAR},
</if>
<if test="comment != null" >
comment = #{comment,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gmei.data.dqmp.domain.TblIndicatorOperatorInfo" >
update tbl_indicator_operator_info
set indicator_name = #{indicatorName,jdbcType=VARCHAR},
operator_expr = #{operatorExpr,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment