Browse Source

xml文件提交

liujiankang 7 years ago
parent
commit
7a33d80c28
17 changed files with 1531 additions and 0 deletions
  1. 17 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/AwaitingSignclosedProductInfoMapper.java
  2. 106 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/AwaitingSignclosedProductInfoMapper.xml
  3. 17 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintDetectInfoMapper.java
  4. 227 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintDetectInfoMapper.xml
  5. 17 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintMaintenanceInfoMapper.java
  6. 205 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintMaintenanceInfoMapper.xml
  7. 19 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintQuestionInfoMapper.java
  8. 148 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintQuestionInfoMapper.xml
  9. 17 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSignclosedInfoMapper.java
  10. 323 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSignclosedInfoMapper.xml
  11. 17 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSignclosedProductInfoMapper.java
  12. 106 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSignclosedProductInfoMapper.xml
  13. 17 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSmallClassInfoMapper.java
  14. 131 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSmallClassInfoMapper.xml
  15. 17 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintTypeInfoMapper.java
  16. 120 0
      watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintTypeInfoMapper.xml
  17. 27 0
      watero-rst-web/src/main/resources/watero-rst-orm.xml

+ 17 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/AwaitingSignclosedProductInfoMapper.java

@@ -0,0 +1,17 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.AwaitingSignclosedProductInfo;
+
+public interface AwaitingSignclosedProductInfoMapper {
+    int deleteByPrimaryKey(Integer productId);
+
+    int insert(AwaitingSignclosedProductInfo record);
+
+    int insertSelective(AwaitingSignclosedProductInfo record);
+
+    AwaitingSignclosedProductInfo selectByPrimaryKey(Integer productId);
+
+    int updateByPrimaryKeySelective(AwaitingSignclosedProductInfo record);
+
+    int updateByPrimaryKey(AwaitingSignclosedProductInfo record);
+}

+ 106 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/AwaitingSignclosedProductInfoMapper.xml

@@ -0,0 +1,106 @@
+<?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.iamberry.rst.service.cm.mapper.AwaitingSignclosedProductInfoMapper" >
+  <resultMap id="BaseResultMap" type="AwaitingSignclosedProductInfo" >
+    <id column="product_id" property="productId" jdbcType="INTEGER" />
+    <result column="signclosed_id" property="signclosedId" jdbcType="INTEGER" />
+    <result column="product_name" property="productName" jdbcType="VARCHAR" />
+    <result column="product_num" property="productNum" jdbcType="INTEGER" />
+    <result column="signclosed_create_time" property="signclosedCreateTime" jdbcType="TIMESTAMP" />
+    <result column="signclosed_update_time" property="signclosedUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    product_id, signclosed_id, product_name, product_num, signclosed_create_time, signclosed_update_time
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+    select 
+    <include refid="Base_Column_List" />
+    from tb_rst_complaint_awaiting_signclosed_product
+    where product_id = #{productId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_complaint_awaiting_signclosed_product
+    where product_id = #{productId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="AwaitingSignclosedProductInfo" >
+    insert into tb_rst_complaint_awaiting_signclosed_product (product_id, signclosed_id, product_name, 
+      product_num, signclosed_create_time, signclosed_update_time
+      )
+    values (#{productId,jdbcType=INTEGER}, #{signclosedId,jdbcType=INTEGER}, #{productName,jdbcType=VARCHAR}, 
+      #{productNum,jdbcType=INTEGER}, #{signclosedCreateTime,jdbcType=TIMESTAMP}, #{signclosedUpdateTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="AwaitingSignclosedProductInfo" >
+    insert into tb_rst_complaint_awaiting_signclosed_product
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="productId != null" >
+        product_id,
+      </if>
+      <if test="signclosedId != null" >
+        signclosed_id,
+      </if>
+      <if test="productName != null" >
+        product_name,
+      </if>
+      <if test="productNum != null" >
+        product_num,
+      </if>
+      <if test="signclosedCreateTime != null" >
+        signclosed_create_time,
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        signclosed_update_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="productId != null" >
+        #{productId,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedId != null" >
+        #{signclosedId,jdbcType=INTEGER},
+      </if>
+      <if test="productName != null" >
+        #{productName,jdbcType=VARCHAR},
+      </if>
+      <if test="productNum != null" >
+        #{productNum,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedCreateTime != null" >
+        #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        #{signclosedUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="AwaitingSignclosedProductInfo" >
+    update tb_rst_complaint_awaiting_signclosed_product
+    <set >
+      <if test="signclosedId != null" >
+        signclosed_id = #{signclosedId,jdbcType=INTEGER},
+      </if>
+      <if test="productName != null" >
+        product_name = #{productName,jdbcType=VARCHAR},
+      </if>
+      <if test="productNum != null" >
+        product_num = #{productNum,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedCreateTime != null" >
+        signclosed_create_time = #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        signclosed_update_time = #{signclosedUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where product_id = #{productId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="AwaitingSignclosedProductInfo" >
+    update tb_rst_complaint_awaiting_signclosed_product
+    set signclosed_id = #{signclosedId,jdbcType=INTEGER},
+      product_name = #{productName,jdbcType=VARCHAR},
+      product_num = #{productNum,jdbcType=INTEGER},
+      signclosed_create_time = #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      signclosed_update_time = #{signclosedUpdateTime,jdbcType=TIMESTAMP}
+    where product_id = #{productId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 17 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintDetectInfoMapper.java

@@ -0,0 +1,17 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.ComplaintDetectInfo;
+
+public interface ComplaintDetectInfoMapper {
+    int deleteByPrimaryKey(Integer detectId);
+
+    int insert(ComplaintDetectInfo record);
+
+    int insertSelective(ComplaintDetectInfo record);
+
+    ComplaintDetectInfo selectByPrimaryKey(Integer detectId);
+
+    int updateByPrimaryKeySelective(ComplaintDetectInfo record);
+
+    int updateByPrimaryKey(ComplaintDetectInfo record);
+}

+ 227 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintDetectInfoMapper.xml

@@ -0,0 +1,227 @@
+<?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.iamberry.rst.service.cm.mapper.ComplaintDetectInfoMapper" >
+  <resultMap id="BaseResultMap" type="ComplaintDetectInfo" >
+    <id column="detect_id" property="detectId" jdbcType="INTEGER" />
+    <result column="customer_id" property="customerId" jdbcType="INTEGER" />
+    <result column="detect_product_type" property="detectProductType" jdbcType="BIT" />
+    <result column="detect_product_number" property="detectProductNumber" jdbcType="VARCHAR" />
+    <result column="detect_state" property="detectState" jdbcType="BIT" />
+    <result column="detect_phenomenon" property="detectPhenomenon" jdbcType="VARCHAR" />
+    <result column="detect_failure_classification" property="detectFailureClassification" jdbcType="VARCHAR" />
+    <result column="detect_failure_cause" property="detectFailureCause" jdbcType="VARCHAR" />
+    <result column="detect_results" property="detectResults" jdbcType="VARCHAR" />
+    <result column="detect_point" property="detectPoint" jdbcType="VARCHAR" />
+    <result column="detect_analysis" property="detectAnalysis" jdbcType="VARCHAR" />
+    <result column="detect_customer_id" property="detectCustomerId" jdbcType="INTEGER" />
+    <result column="detect_revolution_produced" property="detectRevolutionProduced" jdbcType="BIT" />
+    <result column="detect_desc" property="detectDesc" jdbcType="VARCHAR" />
+    <result column="signclosed_create_time" property="signclosedCreateTime" jdbcType="TIMESTAMP" />
+    <result column="signclosed_update_time" property="signclosedUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    detect_id, customer_id, detect_product_type, detect_product_number, detect_state, 
+    detect_phenomenon, detect_failure_classification, detect_failure_cause, detect_results, 
+    detect_point, detect_analysis, detect_customer_id, detect_revolution_produced, detect_desc, 
+    signclosed_create_time, signclosed_update_time
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+    select 
+    <include refid="Base_Column_List" />
+    from tb_rst_complaint_detect
+    where detect_id = #{detectId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_complaint_detect
+    where detect_id = #{detectId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="ComplaintDetectInfo" >
+    insert into tb_rst_complaint_detect (detect_id, customer_id, detect_product_type, 
+      detect_product_number, detect_state, detect_phenomenon, 
+      detect_failure_classification, detect_failure_cause, 
+      detect_results, detect_point, detect_analysis, 
+      detect_customer_id, detect_revolution_produced, 
+      detect_desc, signclosed_create_time, signclosed_update_time
+      )
+    values (#{detectId,jdbcType=INTEGER}, #{customerId,jdbcType=INTEGER}, #{detectProductType,jdbcType=BIT}, 
+      #{detectProductNumber,jdbcType=VARCHAR}, #{detectState,jdbcType=BIT}, #{detectPhenomenon,jdbcType=VARCHAR}, 
+      #{detectFailureClassification,jdbcType=VARCHAR}, #{detectFailureCause,jdbcType=VARCHAR}, 
+      #{detectResults,jdbcType=VARCHAR}, #{detectPoint,jdbcType=VARCHAR}, #{detectAnalysis,jdbcType=VARCHAR}, 
+      #{detectCustomerId,jdbcType=INTEGER}, #{detectRevolutionProduced,jdbcType=BIT}, 
+      #{detectDesc,jdbcType=VARCHAR}, #{signclosedCreateTime,jdbcType=TIMESTAMP}, #{signclosedUpdateTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="ComplaintDetectInfo" >
+    insert into tb_rst_complaint_detect
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="detectId != null" >
+        detect_id,
+      </if>
+      <if test="customerId != null" >
+        customer_id,
+      </if>
+      <if test="detectProductType != null" >
+        detect_product_type,
+      </if>
+      <if test="detectProductNumber != null" >
+        detect_product_number,
+      </if>
+      <if test="detectState != null" >
+        detect_state,
+      </if>
+      <if test="detectPhenomenon != null" >
+        detect_phenomenon,
+      </if>
+      <if test="detectFailureClassification != null" >
+        detect_failure_classification,
+      </if>
+      <if test="detectFailureCause != null" >
+        detect_failure_cause,
+      </if>
+      <if test="detectResults != null" >
+        detect_results,
+      </if>
+      <if test="detectPoint != null" >
+        detect_point,
+      </if>
+      <if test="detectAnalysis != null" >
+        detect_analysis,
+      </if>
+      <if test="detectCustomerId != null" >
+        detect_customer_id,
+      </if>
+      <if test="detectRevolutionProduced != null" >
+        detect_revolution_produced,
+      </if>
+      <if test="detectDesc != null" >
+        detect_desc,
+      </if>
+      <if test="signclosedCreateTime != null" >
+        signclosed_create_time,
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        signclosed_update_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="detectId != null" >
+        #{detectId,jdbcType=INTEGER},
+      </if>
+      <if test="customerId != null" >
+        #{customerId,jdbcType=INTEGER},
+      </if>
+      <if test="detectProductType != null" >
+        #{detectProductType,jdbcType=BIT},
+      </if>
+      <if test="detectProductNumber != null" >
+        #{detectProductNumber,jdbcType=VARCHAR},
+      </if>
+      <if test="detectState != null" >
+        #{detectState,jdbcType=BIT},
+      </if>
+      <if test="detectPhenomenon != null" >
+        #{detectPhenomenon,jdbcType=VARCHAR},
+      </if>
+      <if test="detectFailureClassification != null" >
+        #{detectFailureClassification,jdbcType=VARCHAR},
+      </if>
+      <if test="detectFailureCause != null" >
+        #{detectFailureCause,jdbcType=VARCHAR},
+      </if>
+      <if test="detectResults != null" >
+        #{detectResults,jdbcType=VARCHAR},
+      </if>
+      <if test="detectPoint != null" >
+        #{detectPoint,jdbcType=VARCHAR},
+      </if>
+      <if test="detectAnalysis != null" >
+        #{detectAnalysis,jdbcType=VARCHAR},
+      </if>
+      <if test="detectCustomerId != null" >
+        #{detectCustomerId,jdbcType=INTEGER},
+      </if>
+      <if test="detectRevolutionProduced != null" >
+        #{detectRevolutionProduced,jdbcType=BIT},
+      </if>
+      <if test="detectDesc != null" >
+        #{detectDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedCreateTime != null" >
+        #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        #{signclosedUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="ComplaintDetectInfo" >
+    update tb_rst_complaint_detect
+    <set >
+      <if test="customerId != null" >
+        customer_id = #{customerId,jdbcType=INTEGER},
+      </if>
+      <if test="detectProductType != null" >
+        detect_product_type = #{detectProductType,jdbcType=BIT},
+      </if>
+      <if test="detectProductNumber != null" >
+        detect_product_number = #{detectProductNumber,jdbcType=VARCHAR},
+      </if>
+      <if test="detectState != null" >
+        detect_state = #{detectState,jdbcType=BIT},
+      </if>
+      <if test="detectPhenomenon != null" >
+        detect_phenomenon = #{detectPhenomenon,jdbcType=VARCHAR},
+      </if>
+      <if test="detectFailureClassification != null" >
+        detect_failure_classification = #{detectFailureClassification,jdbcType=VARCHAR},
+      </if>
+      <if test="detectFailureCause != null" >
+        detect_failure_cause = #{detectFailureCause,jdbcType=VARCHAR},
+      </if>
+      <if test="detectResults != null" >
+        detect_results = #{detectResults,jdbcType=VARCHAR},
+      </if>
+      <if test="detectPoint != null" >
+        detect_point = #{detectPoint,jdbcType=VARCHAR},
+      </if>
+      <if test="detectAnalysis != null" >
+        detect_analysis = #{detectAnalysis,jdbcType=VARCHAR},
+      </if>
+      <if test="detectCustomerId != null" >
+        detect_customer_id = #{detectCustomerId,jdbcType=INTEGER},
+      </if>
+      <if test="detectRevolutionProduced != null" >
+        detect_revolution_produced = #{detectRevolutionProduced,jdbcType=BIT},
+      </if>
+      <if test="detectDesc != null" >
+        detect_desc = #{detectDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedCreateTime != null" >
+        signclosed_create_time = #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        signclosed_update_time = #{signclosedUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where detect_id = #{detectId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="ComplaintDetectInfo" >
+    update tb_rst_complaint_detect
+    set customer_id = #{customerId,jdbcType=INTEGER},
+      detect_product_type = #{detectProductType,jdbcType=BIT},
+      detect_product_number = #{detectProductNumber,jdbcType=VARCHAR},
+      detect_state = #{detectState,jdbcType=BIT},
+      detect_phenomenon = #{detectPhenomenon,jdbcType=VARCHAR},
+      detect_failure_classification = #{detectFailureClassification,jdbcType=VARCHAR},
+      detect_failure_cause = #{detectFailureCause,jdbcType=VARCHAR},
+      detect_results = #{detectResults,jdbcType=VARCHAR},
+      detect_point = #{detectPoint,jdbcType=VARCHAR},
+      detect_analysis = #{detectAnalysis,jdbcType=VARCHAR},
+      detect_customer_id = #{detectCustomerId,jdbcType=INTEGER},
+      detect_revolution_produced = #{detectRevolutionProduced,jdbcType=BIT},
+      detect_desc = #{detectDesc,jdbcType=VARCHAR},
+      signclosed_create_time = #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      signclosed_update_time = #{signclosedUpdateTime,jdbcType=TIMESTAMP}
+    where detect_id = #{detectId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 17 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintMaintenanceInfoMapper.java

@@ -0,0 +1,17 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.ComplaintMaintenanceInfo;
+
+public interface ComplaintMaintenanceInfoMapper {
+    int deleteByPrimaryKey(Integer maintenanceId);
+
+    int insert(ComplaintMaintenanceInfo record);
+
+    int insertSelective(ComplaintMaintenanceInfo record);
+
+    ComplaintMaintenanceInfo selectByPrimaryKey(Integer maintenanceId);
+
+    int updateByPrimaryKeySelective(ComplaintMaintenanceInfo record);
+
+    int updateByPrimaryKey(ComplaintMaintenanceInfo record);
+}

+ 205 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintMaintenanceInfoMapper.xml

@@ -0,0 +1,205 @@
+<?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.iamberry.rst.service.cm.mapper.ComplaintMaintenanceInfoMapper" >
+  <resultMap id="BaseResultMap" type="ComplaintMaintenanceInfo" >
+    <id column="maintenance_id" property="maintenanceId" jdbcType="INTEGER" />
+    <result column="detect_id" property="detectId" jdbcType="INTEGER" />
+    <result column="maintenance_equipment_number" property="maintenanceEquipmentNumber" jdbcType="INTEGER" />
+    <result column="maintenance_product_type" property="maintenanceProductType" jdbcType="BIT" />
+    <result column="maintenance_product_number" property="maintenanceProductNumber" jdbcType="VARCHAR" />
+    <result column="maintenance_results" property="maintenanceResults" jdbcType="VARCHAR" />
+    <result column="maintenance_state" property="maintenanceState" jdbcType="BIT" />
+    <result column="maintenance_analysis" property="maintenanceAnalysis" jdbcType="VARCHAR" />
+    <result column="maintenance_customer_id" property="maintenanceCustomerId" jdbcType="INTEGER" />
+    <result column="maintenance_id_repair" property="maintenanceIdRepair" jdbcType="BIT" />
+    <result column="maintenance_content" property="maintenanceContent" jdbcType="VARCHAR" />
+    <result column="maintenance_content_date" property="maintenanceContentDate" jdbcType="TIMESTAMP" />
+    <result column="maintenance_create_time" property="maintenanceCreateTime" jdbcType="TIMESTAMP" />
+    <result column="maintenance_update_time" property="maintenanceUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    maintenance_id, detect_id, maintenance_equipment_number, maintenance_product_type, 
+    maintenance_product_number, maintenance_results, maintenance_state, maintenance_analysis, 
+    maintenance_customer_id, maintenance_id_repair, maintenance_content, maintenance_content_date, 
+    maintenance_create_time, maintenance_update_time
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+    select 
+    <include refid="Base_Column_List" />
+    from tb_rst_complaint_maintenance
+    where maintenance_id = #{maintenanceId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_complaint_maintenance
+    where maintenance_id = #{maintenanceId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="ComplaintMaintenanceInfo" >
+    insert into tb_rst_complaint_maintenance (maintenance_id, detect_id, maintenance_equipment_number, 
+      maintenance_product_type, maintenance_product_number, 
+      maintenance_results, maintenance_state, maintenance_analysis, 
+      maintenance_customer_id, maintenance_id_repair, 
+      maintenance_content, maintenance_content_date, 
+      maintenance_create_time, maintenance_update_time
+      )
+    values (#{maintenanceId,jdbcType=INTEGER}, #{detectId,jdbcType=INTEGER}, #{maintenanceEquipmentNumber,jdbcType=INTEGER}, 
+      #{maintenanceProductType,jdbcType=BIT}, #{maintenanceProductNumber,jdbcType=VARCHAR}, 
+      #{maintenanceResults,jdbcType=VARCHAR}, #{maintenanceState,jdbcType=BIT}, #{maintenanceAnalysis,jdbcType=VARCHAR}, 
+      #{maintenanceCustomerId,jdbcType=INTEGER}, #{maintenanceIdRepair,jdbcType=BIT}, 
+      #{maintenanceContent,jdbcType=VARCHAR}, #{maintenanceContentDate,jdbcType=TIMESTAMP}, 
+      #{maintenanceCreateTime,jdbcType=TIMESTAMP}, #{maintenanceUpdateTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="ComplaintMaintenanceInfo" >
+    insert into tb_rst_complaint_maintenance
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="maintenanceId != null" >
+        maintenance_id,
+      </if>
+      <if test="detectId != null" >
+        detect_id,
+      </if>
+      <if test="maintenanceEquipmentNumber != null" >
+        maintenance_equipment_number,
+      </if>
+      <if test="maintenanceProductType != null" >
+        maintenance_product_type,
+      </if>
+      <if test="maintenanceProductNumber != null" >
+        maintenance_product_number,
+      </if>
+      <if test="maintenanceResults != null" >
+        maintenance_results,
+      </if>
+      <if test="maintenanceState != null" >
+        maintenance_state,
+      </if>
+      <if test="maintenanceAnalysis != null" >
+        maintenance_analysis,
+      </if>
+      <if test="maintenanceCustomerId != null" >
+        maintenance_customer_id,
+      </if>
+      <if test="maintenanceIdRepair != null" >
+        maintenance_id_repair,
+      </if>
+      <if test="maintenanceContent != null" >
+        maintenance_content,
+      </if>
+      <if test="maintenanceContentDate != null" >
+        maintenance_content_date,
+      </if>
+      <if test="maintenanceCreateTime != null" >
+        maintenance_create_time,
+      </if>
+      <if test="maintenanceUpdateTime != null" >
+        maintenance_update_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="maintenanceId != null" >
+        #{maintenanceId,jdbcType=INTEGER},
+      </if>
+      <if test="detectId != null" >
+        #{detectId,jdbcType=INTEGER},
+      </if>
+      <if test="maintenanceEquipmentNumber != null" >
+        #{maintenanceEquipmentNumber,jdbcType=INTEGER},
+      </if>
+      <if test="maintenanceProductType != null" >
+        #{maintenanceProductType,jdbcType=BIT},
+      </if>
+      <if test="maintenanceProductNumber != null" >
+        #{maintenanceProductNumber,jdbcType=VARCHAR},
+      </if>
+      <if test="maintenanceResults != null" >
+        #{maintenanceResults,jdbcType=VARCHAR},
+      </if>
+      <if test="maintenanceState != null" >
+        #{maintenanceState,jdbcType=BIT},
+      </if>
+      <if test="maintenanceAnalysis != null" >
+        #{maintenanceAnalysis,jdbcType=VARCHAR},
+      </if>
+      <if test="maintenanceCustomerId != null" >
+        #{maintenanceCustomerId,jdbcType=INTEGER},
+      </if>
+      <if test="maintenanceIdRepair != null" >
+        #{maintenanceIdRepair,jdbcType=BIT},
+      </if>
+      <if test="maintenanceContent != null" >
+        #{maintenanceContent,jdbcType=VARCHAR},
+      </if>
+      <if test="maintenanceContentDate != null" >
+        #{maintenanceContentDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="maintenanceCreateTime != null" >
+        #{maintenanceCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="maintenanceUpdateTime != null" >
+        #{maintenanceUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="ComplaintMaintenanceInfo" >
+    update tb_rst_complaint_maintenance
+    <set >
+      <if test="detectId != null" >
+        detect_id = #{detectId,jdbcType=INTEGER},
+      </if>
+      <if test="maintenanceEquipmentNumber != null" >
+        maintenance_equipment_number = #{maintenanceEquipmentNumber,jdbcType=INTEGER},
+      </if>
+      <if test="maintenanceProductType != null" >
+        maintenance_product_type = #{maintenanceProductType,jdbcType=BIT},
+      </if>
+      <if test="maintenanceProductNumber != null" >
+        maintenance_product_number = #{maintenanceProductNumber,jdbcType=VARCHAR},
+      </if>
+      <if test="maintenanceResults != null" >
+        maintenance_results = #{maintenanceResults,jdbcType=VARCHAR},
+      </if>
+      <if test="maintenanceState != null" >
+        maintenance_state = #{maintenanceState,jdbcType=BIT},
+      </if>
+      <if test="maintenanceAnalysis != null" >
+        maintenance_analysis = #{maintenanceAnalysis,jdbcType=VARCHAR},
+      </if>
+      <if test="maintenanceCustomerId != null" >
+        maintenance_customer_id = #{maintenanceCustomerId,jdbcType=INTEGER},
+      </if>
+      <if test="maintenanceIdRepair != null" >
+        maintenance_id_repair = #{maintenanceIdRepair,jdbcType=BIT},
+      </if>
+      <if test="maintenanceContent != null" >
+        maintenance_content = #{maintenanceContent,jdbcType=VARCHAR},
+      </if>
+      <if test="maintenanceContentDate != null" >
+        maintenance_content_date = #{maintenanceContentDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="maintenanceCreateTime != null" >
+        maintenance_create_time = #{maintenanceCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="maintenanceUpdateTime != null" >
+        maintenance_update_time = #{maintenanceUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where maintenance_id = #{maintenanceId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="ComplaintMaintenanceInfo" >
+    update tb_rst_complaint_maintenance
+    set detect_id = #{detectId,jdbcType=INTEGER},
+      maintenance_equipment_number = #{maintenanceEquipmentNumber,jdbcType=INTEGER},
+      maintenance_product_type = #{maintenanceProductType,jdbcType=BIT},
+      maintenance_product_number = #{maintenanceProductNumber,jdbcType=VARCHAR},
+      maintenance_results = #{maintenanceResults,jdbcType=VARCHAR},
+      maintenance_state = #{maintenanceState,jdbcType=BIT},
+      maintenance_analysis = #{maintenanceAnalysis,jdbcType=VARCHAR},
+      maintenance_customer_id = #{maintenanceCustomerId,jdbcType=INTEGER},
+      maintenance_id_repair = #{maintenanceIdRepair,jdbcType=BIT},
+      maintenance_content = #{maintenanceContent,jdbcType=VARCHAR},
+      maintenance_content_date = #{maintenanceContentDate,jdbcType=TIMESTAMP},
+      maintenance_create_time = #{maintenanceCreateTime,jdbcType=TIMESTAMP},
+      maintenance_update_time = #{maintenanceUpdateTime,jdbcType=TIMESTAMP}
+    where maintenance_id = #{maintenanceId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 19 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintQuestionInfoMapper.java

@@ -0,0 +1,19 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.ComplaintQuestionInfo;
+
+public interface ComplaintQuestionInfoMapper {
+    int deleteByPrimaryKey(Integer questionId);
+
+    int insert(ComplaintQuestionInfo record);
+
+    int insertSelective(ComplaintQuestionInfo record);
+
+    ComplaintQuestionInfo selectByPrimaryKey(Integer questionId);
+
+    int updateByPrimaryKeySelective(ComplaintQuestionInfo record);
+
+    int updateByPrimaryKeyWithBLOBs(ComplaintQuestionInfo record);
+
+    int updateByPrimaryKey(ComplaintQuestionInfo record);
+}

+ 148 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintQuestionInfoMapper.xml

@@ -0,0 +1,148 @@
+<?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.iamberry.rst.service.cm.mapper.ComplaintQuestionInfoMapper" >
+  <resultMap id="BaseResultMap" type="ComplaintQuestionInfo" >
+    <id column="question_id" property="questionId" jdbcType="INTEGER" />
+    <result column="small_class_id" property="smallClassId" jdbcType="INTEGER" />
+    <result column="question_name" property="questionName" jdbcType="VARCHAR" />
+    <result column="question_state" property="questionState" jdbcType="BIT" />
+    <result column="question_is_qc_detect" property="questionIsQcDetect" jdbcType="BIT" />
+    <result column="question_create_time" property="questionCreateTime" jdbcType="TIMESTAMP" />
+    <result column="question_update_time" property="questionUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <resultMap id="ResultMapWithBLOBs" type="ComplaintQuestionInfo" extends="BaseResultMap" >
+    <result column="question_profile" property="questionProfile" jdbcType="LONGVARCHAR" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    question_id, small_class_id, question_name, question_state, question_is_qc_detect, 
+    question_create_time, question_update_time
+  </sql>
+  <sql id="Blob_Column_List" >
+    question_profile
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="ResultMapWithBLOBs" parameterType="java.lang.Integer" >
+    select 
+    <include refid="Base_Column_List" />
+    ,
+    <include refid="Blob_Column_List" />
+    from tb_rst_complaint_question
+    where question_id = #{questionId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_complaint_question
+    where question_id = #{questionId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="ComplaintQuestionInfo" >
+    insert into tb_rst_complaint_question (question_id, small_class_id, question_name, 
+      question_state, question_is_qc_detect, question_create_time, 
+      question_update_time, question_profile
+      )
+    values (#{questionId,jdbcType=INTEGER}, #{smallClassId,jdbcType=INTEGER}, #{questionName,jdbcType=VARCHAR}, 
+      #{questionState,jdbcType=BIT}, #{questionIsQcDetect,jdbcType=BIT}, #{questionCreateTime,jdbcType=TIMESTAMP}, 
+      #{questionUpdateTime,jdbcType=TIMESTAMP}, #{questionProfile,jdbcType=LONGVARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="ComplaintQuestionInfo" >
+    insert into tb_rst_complaint_question
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="questionId != null" >
+        question_id,
+      </if>
+      <if test="smallClassId != null" >
+        small_class_id,
+      </if>
+      <if test="questionName != null" >
+        question_name,
+      </if>
+      <if test="questionState != null" >
+        question_state,
+      </if>
+      <if test="questionIsQcDetect != null" >
+        question_is_qc_detect,
+      </if>
+      <if test="questionCreateTime != null" >
+        question_create_time,
+      </if>
+      <if test="questionUpdateTime != null" >
+        question_update_time,
+      </if>
+      <if test="questionProfile != null" >
+        question_profile,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="questionId != null" >
+        #{questionId,jdbcType=INTEGER},
+      </if>
+      <if test="smallClassId != null" >
+        #{smallClassId,jdbcType=INTEGER},
+      </if>
+      <if test="questionName != null" >
+        #{questionName,jdbcType=VARCHAR},
+      </if>
+      <if test="questionState != null" >
+        #{questionState,jdbcType=BIT},
+      </if>
+      <if test="questionIsQcDetect != null" >
+        #{questionIsQcDetect,jdbcType=BIT},
+      </if>
+      <if test="questionCreateTime != null" >
+        #{questionCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="questionUpdateTime != null" >
+        #{questionUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="questionProfile != null" >
+        #{questionProfile,jdbcType=LONGVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="ComplaintQuestionInfo" >
+    update tb_rst_complaint_question
+    <set >
+      <if test="smallClassId != null" >
+        small_class_id = #{smallClassId,jdbcType=INTEGER},
+      </if>
+      <if test="questionName != null" >
+        question_name = #{questionName,jdbcType=VARCHAR},
+      </if>
+      <if test="questionState != null" >
+        question_state = #{questionState,jdbcType=BIT},
+      </if>
+      <if test="questionIsQcDetect != null" >
+        question_is_qc_detect = #{questionIsQcDetect,jdbcType=BIT},
+      </if>
+      <if test="questionCreateTime != null" >
+        question_create_time = #{questionCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="questionUpdateTime != null" >
+        question_update_time = #{questionUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="questionProfile != null" >
+        question_profile = #{questionProfile,jdbcType=LONGVARCHAR},
+      </if>
+    </set>
+    where question_id = #{questionId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKeyWithBLOBs" parameterType="ComplaintQuestionInfo" >
+    update tb_rst_complaint_question
+    set small_class_id = #{smallClassId,jdbcType=INTEGER},
+      question_name = #{questionName,jdbcType=VARCHAR},
+      question_state = #{questionState,jdbcType=BIT},
+      question_is_qc_detect = #{questionIsQcDetect,jdbcType=BIT},
+      question_create_time = #{questionCreateTime,jdbcType=TIMESTAMP},
+      question_update_time = #{questionUpdateTime,jdbcType=TIMESTAMP},
+      question_profile = #{questionProfile,jdbcType=LONGVARCHAR}
+    where question_id = #{questionId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="ComplaintQuestionInfo" >
+    update tb_rst_complaint_question
+    set small_class_id = #{smallClassId,jdbcType=INTEGER},
+      question_name = #{questionName,jdbcType=VARCHAR},
+      question_state = #{questionState,jdbcType=BIT},
+      question_is_qc_detect = #{questionIsQcDetect,jdbcType=BIT},
+      question_create_time = #{questionCreateTime,jdbcType=TIMESTAMP},
+      question_update_time = #{questionUpdateTime,jdbcType=TIMESTAMP}
+    where question_id = #{questionId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 17 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSignclosedInfoMapper.java

@@ -0,0 +1,17 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.ComplaintSignclosedInfo;
+
+public interface ComplaintSignclosedInfoMapper {
+    int deleteByPrimaryKey(Integer signclosedId);
+
+    int insert(ComplaintSignclosedInfo record);
+
+    int insertSelective(ComplaintSignclosedInfo record);
+
+    ComplaintSignclosedInfo selectByPrimaryKey(Integer signclosedId);
+
+    int updateByPrimaryKeySelective(ComplaintSignclosedInfo record);
+
+    int updateByPrimaryKey(ComplaintSignclosedInfo record);
+}

+ 323 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSignclosedInfoMapper.xml

@@ -0,0 +1,323 @@
+<?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.iamberry.rst.service.cm.mapper.ComplaintSignclosedInfoMapper" >
+  <resultMap id="BaseResultMap" type="ComplaintSignclosedInfo" >
+    <id column="signclosed_id" property="signclosedId" jdbcType="INTEGER" />
+    <result column="signclosed_type" property="signclosedType" jdbcType="BIT" />
+    <result column="signclosed_type_name" property="signclosedTypeName" jdbcType="VARCHAR" />
+    <result column="machine_no" property="machineNo" jdbcType="VARCHAR" />
+    <result column="signclosed_logistics" property="signclosedLogistics" jdbcType="VARCHAR" />
+    <result column="signclosed_logistics_number" property="signclosedLogisticsNumber" jdbcType="VARCHAR" />
+    <result column="signclosed_send_name" property="signclosedSendName" jdbcType="VARCHAR" />
+    <result column="signclosed_send_tel" property="signclosedSendTel" jdbcType="VARCHAR" />
+    <result column="signclosed_addr_provinces" property="signclosedAddrProvinces" jdbcType="INTEGER" />
+    <result column="signclosed_addr_city" property="signclosedAddrCity" jdbcType="INTEGER" />
+    <result column="signclosed_is_fittings" property="signclosedIsFittings" jdbcType="BIT" />
+    <result column="signclosed_date" property="signclosedDate" jdbcType="DATE" />
+    <result column="signclosed_is_quality" property="signclosedIsQuality" jdbcType="INTEGER" />
+    <result column="signclosed_is_into" property="signclosedIsInto" jdbcType="BIT" />
+    <result column="signclosed_state" property="signclosedState" jdbcType="BIT" />
+    <result column="signclosed_objects_state" property="signclosedObjectsState" jdbcType="BIT" />
+    <result column="signclosed_customer_id" property="signclosedCustomerId" jdbcType="INTEGER" />
+    <result column="signclosed_urged_num" property="signclosedUrgedNum" jdbcType="INTEGER" />
+    <result column="old_efast_id" property="oldEfastId" jdbcType="VARCHAR" />
+    <result column="new_efast_id" property="newEfastId" jdbcType="VARCHAR" />
+    <result column="signclosed_customer_desc" property="signclosedCustomerDesc" jdbcType="VARCHAR" />
+    <result column="signclosed_desc" property="signclosedDesc" jdbcType="VARCHAR" />
+    <result column="signclosed_create_time" property="signclosedCreateTime" jdbcType="TIMESTAMP" />
+    <result column="signclosed_update_time" property="signclosedUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    signclosed_id, signclosed_type, signclosed_type_name, machine_no, signclosed_logistics, 
+    signclosed_logistics_number, signclosed_send_name, signclosed_send_tel, signclosed_addr_provinces, 
+    signclosed_addr_city, signclosed_is_fittings, signclosed_date, signclosed_is_quality, 
+    signclosed_is_into, signclosed_state, signclosed_objects_state, signclosed_customer_id, 
+    signclosed_urged_num, old_efast_id, new_efast_id, signclosed_customer_desc, signclosed_desc, 
+    signclosed_create_time, signclosed_update_time
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+    select 
+    <include refid="Base_Column_List" />
+    from tb_rst_complaint_signclosed
+    where signclosed_id = #{signclosedId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_complaint_signclosed
+    where signclosed_id = #{signclosedId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="ComplaintSignclosedInfo" >
+    insert into tb_rst_complaint_signclosed (signclosed_id, signclosed_type, signclosed_type_name, 
+      machine_no, signclosed_logistics, signclosed_logistics_number, 
+      signclosed_send_name, signclosed_send_tel, 
+      signclosed_addr_provinces, signclosed_addr_city, 
+      signclosed_is_fittings, signclosed_date, signclosed_is_quality, 
+      signclosed_is_into, signclosed_state, signclosed_objects_state, 
+      signclosed_customer_id, signclosed_urged_num, 
+      old_efast_id, new_efast_id, signclosed_customer_desc, 
+      signclosed_desc, signclosed_create_time, 
+      signclosed_update_time)
+    values (#{signclosedId,jdbcType=INTEGER}, #{signclosedType,jdbcType=BIT}, #{signclosedTypeName,jdbcType=VARCHAR}, 
+      #{machineNo,jdbcType=VARCHAR}, #{signclosedLogistics,jdbcType=VARCHAR}, #{signclosedLogisticsNumber,jdbcType=VARCHAR}, 
+      #{signclosedSendName,jdbcType=VARCHAR}, #{signclosedSendTel,jdbcType=VARCHAR}, 
+      #{signclosedAddrProvinces,jdbcType=INTEGER}, #{signclosedAddrCity,jdbcType=INTEGER}, 
+      #{signclosedIsFittings,jdbcType=BIT}, #{signclosedDate,jdbcType=DATE}, #{signclosedIsQuality,jdbcType=INTEGER}, 
+      #{signclosedIsInto,jdbcType=BIT}, #{signclosedState,jdbcType=BIT}, #{signclosedObjectsState,jdbcType=BIT}, 
+      #{signclosedCustomerId,jdbcType=INTEGER}, #{signclosedUrgedNum,jdbcType=INTEGER}, 
+      #{oldEfastId,jdbcType=VARCHAR}, #{newEfastId,jdbcType=VARCHAR}, #{signclosedCustomerDesc,jdbcType=VARCHAR}, 
+      #{signclosedDesc,jdbcType=VARCHAR}, #{signclosedCreateTime,jdbcType=TIMESTAMP}, 
+      #{signclosedUpdateTime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="ComplaintSignclosedInfo" >
+    insert into tb_rst_complaint_signclosed
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="signclosedId != null" >
+        signclosed_id,
+      </if>
+      <if test="signclosedType != null" >
+        signclosed_type,
+      </if>
+      <if test="signclosedTypeName != null" >
+        signclosed_type_name,
+      </if>
+      <if test="machineNo != null" >
+        machine_no,
+      </if>
+      <if test="signclosedLogistics != null" >
+        signclosed_logistics,
+      </if>
+      <if test="signclosedLogisticsNumber != null" >
+        signclosed_logistics_number,
+      </if>
+      <if test="signclosedSendName != null" >
+        signclosed_send_name,
+      </if>
+      <if test="signclosedSendTel != null" >
+        signclosed_send_tel,
+      </if>
+      <if test="signclosedAddrProvinces != null" >
+        signclosed_addr_provinces,
+      </if>
+      <if test="signclosedAddrCity != null" >
+        signclosed_addr_city,
+      </if>
+      <if test="signclosedIsFittings != null" >
+        signclosed_is_fittings,
+      </if>
+      <if test="signclosedDate != null" >
+        signclosed_date,
+      </if>
+      <if test="signclosedIsQuality != null" >
+        signclosed_is_quality,
+      </if>
+      <if test="signclosedIsInto != null" >
+        signclosed_is_into,
+      </if>
+      <if test="signclosedState != null" >
+        signclosed_state,
+      </if>
+      <if test="signclosedObjectsState != null" >
+        signclosed_objects_state,
+      </if>
+      <if test="signclosedCustomerId != null" >
+        signclosed_customer_id,
+      </if>
+      <if test="signclosedUrgedNum != null" >
+        signclosed_urged_num,
+      </if>
+      <if test="oldEfastId != null" >
+        old_efast_id,
+      </if>
+      <if test="newEfastId != null" >
+        new_efast_id,
+      </if>
+      <if test="signclosedCustomerDesc != null" >
+        signclosed_customer_desc,
+      </if>
+      <if test="signclosedDesc != null" >
+        signclosed_desc,
+      </if>
+      <if test="signclosedCreateTime != null" >
+        signclosed_create_time,
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        signclosed_update_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="signclosedId != null" >
+        #{signclosedId,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedType != null" >
+        #{signclosedType,jdbcType=BIT},
+      </if>
+      <if test="signclosedTypeName != null" >
+        #{signclosedTypeName,jdbcType=VARCHAR},
+      </if>
+      <if test="machineNo != null" >
+        #{machineNo,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedLogistics != null" >
+        #{signclosedLogistics,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedLogisticsNumber != null" >
+        #{signclosedLogisticsNumber,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedSendName != null" >
+        #{signclosedSendName,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedSendTel != null" >
+        #{signclosedSendTel,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedAddrProvinces != null" >
+        #{signclosedAddrProvinces,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedAddrCity != null" >
+        #{signclosedAddrCity,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedIsFittings != null" >
+        #{signclosedIsFittings,jdbcType=BIT},
+      </if>
+      <if test="signclosedDate != null" >
+        #{signclosedDate,jdbcType=DATE},
+      </if>
+      <if test="signclosedIsQuality != null" >
+        #{signclosedIsQuality,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedIsInto != null" >
+        #{signclosedIsInto,jdbcType=BIT},
+      </if>
+      <if test="signclosedState != null" >
+        #{signclosedState,jdbcType=BIT},
+      </if>
+      <if test="signclosedObjectsState != null" >
+        #{signclosedObjectsState,jdbcType=BIT},
+      </if>
+      <if test="signclosedCustomerId != null" >
+        #{signclosedCustomerId,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedUrgedNum != null" >
+        #{signclosedUrgedNum,jdbcType=INTEGER},
+      </if>
+      <if test="oldEfastId != null" >
+        #{oldEfastId,jdbcType=VARCHAR},
+      </if>
+      <if test="newEfastId != null" >
+        #{newEfastId,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedCustomerDesc != null" >
+        #{signclosedCustomerDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedDesc != null" >
+        #{signclosedDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedCreateTime != null" >
+        #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        #{signclosedUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="ComplaintSignclosedInfo" >
+    update tb_rst_complaint_signclosed
+    <set >
+      <if test="signclosedType != null" >
+        signclosed_type = #{signclosedType,jdbcType=BIT},
+      </if>
+      <if test="signclosedTypeName != null" >
+        signclosed_type_name = #{signclosedTypeName,jdbcType=VARCHAR},
+      </if>
+      <if test="machineNo != null" >
+        machine_no = #{machineNo,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedLogistics != null" >
+        signclosed_logistics = #{signclosedLogistics,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedLogisticsNumber != null" >
+        signclosed_logistics_number = #{signclosedLogisticsNumber,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedSendName != null" >
+        signclosed_send_name = #{signclosedSendName,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedSendTel != null" >
+        signclosed_send_tel = #{signclosedSendTel,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedAddrProvinces != null" >
+        signclosed_addr_provinces = #{signclosedAddrProvinces,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedAddrCity != null" >
+        signclosed_addr_city = #{signclosedAddrCity,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedIsFittings != null" >
+        signclosed_is_fittings = #{signclosedIsFittings,jdbcType=BIT},
+      </if>
+      <if test="signclosedDate != null" >
+        signclosed_date = #{signclosedDate,jdbcType=DATE},
+      </if>
+      <if test="signclosedIsQuality != null" >
+        signclosed_is_quality = #{signclosedIsQuality,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedIsInto != null" >
+        signclosed_is_into = #{signclosedIsInto,jdbcType=BIT},
+      </if>
+      <if test="signclosedState != null" >
+        signclosed_state = #{signclosedState,jdbcType=BIT},
+      </if>
+      <if test="signclosedObjectsState != null" >
+        signclosed_objects_state = #{signclosedObjectsState,jdbcType=BIT},
+      </if>
+      <if test="signclosedCustomerId != null" >
+        signclosed_customer_id = #{signclosedCustomerId,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedUrgedNum != null" >
+        signclosed_urged_num = #{signclosedUrgedNum,jdbcType=INTEGER},
+      </if>
+      <if test="oldEfastId != null" >
+        old_efast_id = #{oldEfastId,jdbcType=VARCHAR},
+      </if>
+      <if test="newEfastId != null" >
+        new_efast_id = #{newEfastId,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedCustomerDesc != null" >
+        signclosed_customer_desc = #{signclosedCustomerDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedDesc != null" >
+        signclosed_desc = #{signclosedDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="signclosedCreateTime != null" >
+        signclosed_create_time = #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        signclosed_update_time = #{signclosedUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where signclosed_id = #{signclosedId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="ComplaintSignclosedInfo" >
+    update tb_rst_complaint_signclosed
+    set signclosed_type = #{signclosedType,jdbcType=BIT},
+      signclosed_type_name = #{signclosedTypeName,jdbcType=VARCHAR},
+      machine_no = #{machineNo,jdbcType=VARCHAR},
+      signclosed_logistics = #{signclosedLogistics,jdbcType=VARCHAR},
+      signclosed_logistics_number = #{signclosedLogisticsNumber,jdbcType=VARCHAR},
+      signclosed_send_name = #{signclosedSendName,jdbcType=VARCHAR},
+      signclosed_send_tel = #{signclosedSendTel,jdbcType=VARCHAR},
+      signclosed_addr_provinces = #{signclosedAddrProvinces,jdbcType=INTEGER},
+      signclosed_addr_city = #{signclosedAddrCity,jdbcType=INTEGER},
+      signclosed_is_fittings = #{signclosedIsFittings,jdbcType=BIT},
+      signclosed_date = #{signclosedDate,jdbcType=DATE},
+      signclosed_is_quality = #{signclosedIsQuality,jdbcType=INTEGER},
+      signclosed_is_into = #{signclosedIsInto,jdbcType=BIT},
+      signclosed_state = #{signclosedState,jdbcType=BIT},
+      signclosed_objects_state = #{signclosedObjectsState,jdbcType=BIT},
+      signclosed_customer_id = #{signclosedCustomerId,jdbcType=INTEGER},
+      signclosed_urged_num = #{signclosedUrgedNum,jdbcType=INTEGER},
+      old_efast_id = #{oldEfastId,jdbcType=VARCHAR},
+      new_efast_id = #{newEfastId,jdbcType=VARCHAR},
+      signclosed_customer_desc = #{signclosedCustomerDesc,jdbcType=VARCHAR},
+      signclosed_desc = #{signclosedDesc,jdbcType=VARCHAR},
+      signclosed_create_time = #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      signclosed_update_time = #{signclosedUpdateTime,jdbcType=TIMESTAMP}
+    where signclosed_id = #{signclosedId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 17 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSignclosedProductInfoMapper.java

@@ -0,0 +1,17 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.SignclosedProductInfo;
+
+public interface ComplaintSignclosedProductInfoMapper {
+    int deleteByPrimaryKey(Integer productId);
+
+    int insert(SignclosedProductInfo record);
+
+    int insertSelective(SignclosedProductInfo record);
+
+    SignclosedProductInfo selectByPrimaryKey(Integer productId);
+
+    int updateByPrimaryKeySelective(SignclosedProductInfo record);
+
+    int updateByPrimaryKey(SignclosedProductInfo record);
+}

+ 106 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSignclosedProductInfoMapper.xml

@@ -0,0 +1,106 @@
+<?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.iamberry.rst.service.cm.mapper.ComplaintSignclosedProductInfoMapper" >
+  <resultMap id="BaseResultMap" type="SignclosedProductInfo" >
+    <id column="product_id" property="productId" jdbcType="INTEGER" />
+    <result column="signclosed_id" property="signclosedId" jdbcType="INTEGER" />
+    <result column="product_name" property="productName" jdbcType="VARCHAR" />
+    <result column="product_num" property="productNum" jdbcType="INTEGER" />
+    <result column="signclosed_create_time" property="signclosedCreateTime" jdbcType="TIMESTAMP" />
+    <result column="signclosed_update_time" property="signclosedUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    product_id, signclosed_id, product_name, product_num, signclosed_create_time, signclosed_update_time
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+    select 
+    <include refid="Base_Column_List" />
+    from tb_rst_complaint_signclosed_product
+    where product_id = #{productId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_complaint_signclosed_product
+    where product_id = #{productId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="SignclosedProductInfo" >
+    insert into tb_rst_complaint_signclosed_product (product_id, signclosed_id, product_name, 
+      product_num, signclosed_create_time, signclosed_update_time
+      )
+    values (#{productId,jdbcType=INTEGER}, #{signclosedId,jdbcType=INTEGER}, #{productName,jdbcType=VARCHAR}, 
+      #{productNum,jdbcType=INTEGER}, #{signclosedCreateTime,jdbcType=TIMESTAMP}, #{signclosedUpdateTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="SignclosedProductInfo" >
+    insert into tb_rst_complaint_signclosed_product
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="productId != null" >
+        product_id,
+      </if>
+      <if test="signclosedId != null" >
+        signclosed_id,
+      </if>
+      <if test="productName != null" >
+        product_name,
+      </if>
+      <if test="productNum != null" >
+        product_num,
+      </if>
+      <if test="signclosedCreateTime != null" >
+        signclosed_create_time,
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        signclosed_update_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="productId != null" >
+        #{productId,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedId != null" >
+        #{signclosedId,jdbcType=INTEGER},
+      </if>
+      <if test="productName != null" >
+        #{productName,jdbcType=VARCHAR},
+      </if>
+      <if test="productNum != null" >
+        #{productNum,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedCreateTime != null" >
+        #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        #{signclosedUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="SignclosedProductInfo" >
+    update tb_rst_complaint_signclosed_product
+    <set >
+      <if test="signclosedId != null" >
+        signclosed_id = #{signclosedId,jdbcType=INTEGER},
+      </if>
+      <if test="productName != null" >
+        product_name = #{productName,jdbcType=VARCHAR},
+      </if>
+      <if test="productNum != null" >
+        product_num = #{productNum,jdbcType=INTEGER},
+      </if>
+      <if test="signclosedCreateTime != null" >
+        signclosed_create_time = #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="signclosedUpdateTime != null" >
+        signclosed_update_time = #{signclosedUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where product_id = #{productId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="SignclosedProductInfo" >
+    update tb_rst_complaint_signclosed_product
+    set signclosed_id = #{signclosedId,jdbcType=INTEGER},
+      product_name = #{productName,jdbcType=VARCHAR},
+      product_num = #{productNum,jdbcType=INTEGER},
+      signclosed_create_time = #{signclosedCreateTime,jdbcType=TIMESTAMP},
+      signclosed_update_time = #{signclosedUpdateTime,jdbcType=TIMESTAMP}
+    where product_id = #{productId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 17 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSmallClassInfoMapper.java

@@ -0,0 +1,17 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.ComplaintSmallClassInfo;
+
+public interface ComplaintSmallClassInfoMapper {
+    int deleteByPrimaryKey(Integer smallClassId);
+
+    int insert(ComplaintSmallClassInfo record);
+
+    int insertSelective(ComplaintSmallClassInfo record);
+
+    ComplaintSmallClassInfo selectByPrimaryKey(Integer smallClassId);
+
+    int updateByPrimaryKeySelective(ComplaintSmallClassInfo record);
+
+    int updateByPrimaryKey(ComplaintSmallClassInfo record);
+}

+ 131 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintSmallClassInfoMapper.xml

@@ -0,0 +1,131 @@
+<?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.iamberry.rst.service.cm.mapper.ComplaintSmallClassInfoMapper" >
+  <resultMap id="BaseResultMap" type="ComplaintSmallClassInfo" >
+    <id column="small_class_id" property="smallClassId" jdbcType="INTEGER" />
+    <result column="complaint_id" property="complaintId" jdbcType="INTEGER" />
+    <result column="small_class_name" property="smallClassName" jdbcType="VARCHAR" />
+    <result column="small_class_profile" property="smallClassProfile" jdbcType="VARCHAR" />
+    <result column="small_class_state" property="smallClassState" jdbcType="BIT" />
+    <result column="small_question_num" property="smallQuestionNum" jdbcType="SMALLINT" />
+    <result column="small_class_create_time" property="smallClassCreateTime" jdbcType="TIMESTAMP" />
+    <result column="small_class_update_time" property="smallClassUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    small_class_id, complaint_id, small_class_name, small_class_profile, small_class_state, 
+    small_question_num, small_class_create_time, small_class_update_time
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+    select 
+    <include refid="Base_Column_List" />
+    from tb_rst_complaint_small_class
+    where small_class_id = #{smallClassId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_complaint_small_class
+    where small_class_id = #{smallClassId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="ComplaintSmallClassInfo" >
+    insert into tb_rst_complaint_small_class (small_class_id, complaint_id, small_class_name, 
+      small_class_profile, small_class_state, small_question_num, 
+      small_class_create_time, small_class_update_time
+      )
+    values (#{smallClassId,jdbcType=INTEGER}, #{complaintId,jdbcType=INTEGER}, #{smallClassName,jdbcType=VARCHAR}, 
+      #{smallClassProfile,jdbcType=VARCHAR}, #{smallClassState,jdbcType=BIT}, #{smallQuestionNum,jdbcType=SMALLINT}, 
+      #{smallClassCreateTime,jdbcType=TIMESTAMP}, #{smallClassUpdateTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="ComplaintSmallClassInfo" >
+    insert into tb_rst_complaint_small_class
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="smallClassId != null" >
+        small_class_id,
+      </if>
+      <if test="complaintId != null" >
+        complaint_id,
+      </if>
+      <if test="smallClassName != null" >
+        small_class_name,
+      </if>
+      <if test="smallClassProfile != null" >
+        small_class_profile,
+      </if>
+      <if test="smallClassState != null" >
+        small_class_state,
+      </if>
+      <if test="smallQuestionNum != null" >
+        small_question_num,
+      </if>
+      <if test="smallClassCreateTime != null" >
+        small_class_create_time,
+      </if>
+      <if test="smallClassUpdateTime != null" >
+        small_class_update_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="smallClassId != null" >
+        #{smallClassId,jdbcType=INTEGER},
+      </if>
+      <if test="complaintId != null" >
+        #{complaintId,jdbcType=INTEGER},
+      </if>
+      <if test="smallClassName != null" >
+        #{smallClassName,jdbcType=VARCHAR},
+      </if>
+      <if test="smallClassProfile != null" >
+        #{smallClassProfile,jdbcType=VARCHAR},
+      </if>
+      <if test="smallClassState != null" >
+        #{smallClassState,jdbcType=BIT},
+      </if>
+      <if test="smallQuestionNum != null" >
+        #{smallQuestionNum,jdbcType=SMALLINT},
+      </if>
+      <if test="smallClassCreateTime != null" >
+        #{smallClassCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="smallClassUpdateTime != null" >
+        #{smallClassUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="ComplaintSmallClassInfo" >
+    update tb_rst_complaint_small_class
+    <set >
+      <if test="complaintId != null" >
+        complaint_id = #{complaintId,jdbcType=INTEGER},
+      </if>
+      <if test="smallClassName != null" >
+        small_class_name = #{smallClassName,jdbcType=VARCHAR},
+      </if>
+      <if test="smallClassProfile != null" >
+        small_class_profile = #{smallClassProfile,jdbcType=VARCHAR},
+      </if>
+      <if test="smallClassState != null" >
+        small_class_state = #{smallClassState,jdbcType=BIT},
+      </if>
+      <if test="smallQuestionNum != null" >
+        small_question_num = #{smallQuestionNum,jdbcType=SMALLINT},
+      </if>
+      <if test="smallClassCreateTime != null" >
+        small_class_create_time = #{smallClassCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="smallClassUpdateTime != null" >
+        small_class_update_time = #{smallClassUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where small_class_id = #{smallClassId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="ComplaintSmallClassInfo" >
+    update tb_rst_complaint_small_class
+    set complaint_id = #{complaintId,jdbcType=INTEGER},
+      small_class_name = #{smallClassName,jdbcType=VARCHAR},
+      small_class_profile = #{smallClassProfile,jdbcType=VARCHAR},
+      small_class_state = #{smallClassState,jdbcType=BIT},
+      small_question_num = #{smallQuestionNum,jdbcType=SMALLINT},
+      small_class_create_time = #{smallClassCreateTime,jdbcType=TIMESTAMP},
+      small_class_update_time = #{smallClassUpdateTime,jdbcType=TIMESTAMP}
+    where small_class_id = #{smallClassId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 17 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintTypeInfoMapper.java

@@ -0,0 +1,17 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.ComplaintTypeInfo;
+
+public interface ComplaintTypeInfoMapper {
+    int deleteByPrimaryKey(Integer complaintId);
+
+    int insert(ComplaintTypeInfo record);
+
+    int insertSelective(ComplaintTypeInfo record);
+
+    ComplaintTypeInfo selectByPrimaryKey(Integer complaintId);
+
+    int updateByPrimaryKeySelective(ComplaintTypeInfo record);
+
+    int updateByPrimaryKey(ComplaintTypeInfo record);
+}

+ 120 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/ComplaintTypeInfoMapper.xml

@@ -0,0 +1,120 @@
+<?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.iamberry.rst.service.cm.mapper.ComplaintTypeInfoMapper" >
+  <resultMap id="BaseResultMap" type="ComplaintTypeInfo" >
+    <id column="complaint_id" property="complaintId" jdbcType="INTEGER" />
+    <result column="complaint_consulting_type" property="complaintConsultingType" jdbcType="TINYINT" />
+    <result column="complaint_class_name" property="complaintClassName" jdbcType="VARCHAR" />
+    <result column="complaint_class_profile" property="complaintClassProfile" jdbcType="VARCHAR" />
+    <result column="complaint_class_state" property="complaintClassState" jdbcType="BIT" />
+    <result column="complaint_create_time" property="complaintCreateTime" jdbcType="TIMESTAMP" />
+    <result column="complaint_update_time" property="complaintUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    complaint_id, complaint_consulting_type, complaint_class_name, complaint_class_profile, 
+    complaint_class_state, complaint_create_time, complaint_update_time
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+    select 
+    <include refid="Base_Column_List" />
+    from tb_rst_complaint_type
+    where complaint_id = #{complaintId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_complaint_type
+    where complaint_id = #{complaintId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="ComplaintTypeInfo" >
+    insert into tb_rst_complaint_type (complaint_id, complaint_consulting_type, 
+      complaint_class_name, complaint_class_profile, 
+      complaint_class_state, complaint_create_time, 
+      complaint_update_time)
+    values (#{complaintId,jdbcType=INTEGER}, #{complaintConsultingType,jdbcType=TINYINT}, 
+      #{complaintClassName,jdbcType=VARCHAR}, #{complaintClassProfile,jdbcType=VARCHAR}, 
+      #{complaintClassState,jdbcType=BIT}, #{complaintCreateTime,jdbcType=TIMESTAMP}, 
+      #{complaintUpdateTime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="ComplaintTypeInfo" >
+    insert into tb_rst_complaint_type
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="complaintId != null" >
+        complaint_id,
+      </if>
+      <if test="complaintConsultingType != null" >
+        complaint_consulting_type,
+      </if>
+      <if test="complaintClassName != null" >
+        complaint_class_name,
+      </if>
+      <if test="complaintClassProfile != null" >
+        complaint_class_profile,
+      </if>
+      <if test="complaintClassState != null" >
+        complaint_class_state,
+      </if>
+      <if test="complaintCreateTime != null" >
+        complaint_create_time,
+      </if>
+      <if test="complaintUpdateTime != null" >
+        complaint_update_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="complaintId != null" >
+        #{complaintId,jdbcType=INTEGER},
+      </if>
+      <if test="complaintConsultingType != null" >
+        #{complaintConsultingType,jdbcType=TINYINT},
+      </if>
+      <if test="complaintClassName != null" >
+        #{complaintClassName,jdbcType=VARCHAR},
+      </if>
+      <if test="complaintClassProfile != null" >
+        #{complaintClassProfile,jdbcType=VARCHAR},
+      </if>
+      <if test="complaintClassState != null" >
+        #{complaintClassState,jdbcType=BIT},
+      </if>
+      <if test="complaintCreateTime != null" >
+        #{complaintCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="complaintUpdateTime != null" >
+        #{complaintUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="ComplaintTypeInfo" >
+    update tb_rst_complaint_type
+    <set >
+      <if test="complaintConsultingType != null" >
+        complaint_consulting_type = #{complaintConsultingType,jdbcType=TINYINT},
+      </if>
+      <if test="complaintClassName != null" >
+        complaint_class_name = #{complaintClassName,jdbcType=VARCHAR},
+      </if>
+      <if test="complaintClassProfile != null" >
+        complaint_class_profile = #{complaintClassProfile,jdbcType=VARCHAR},
+      </if>
+      <if test="complaintClassState != null" >
+        complaint_class_state = #{complaintClassState,jdbcType=BIT},
+      </if>
+      <if test="complaintCreateTime != null" >
+        complaint_create_time = #{complaintCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="complaintUpdateTime != null" >
+        complaint_update_time = #{complaintUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where complaint_id = #{complaintId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="ComplaintTypeInfo" >
+    update tb_rst_complaint_type
+    set complaint_consulting_type = #{complaintConsultingType,jdbcType=TINYINT},
+      complaint_class_name = #{complaintClassName,jdbcType=VARCHAR},
+      complaint_class_profile = #{complaintClassProfile,jdbcType=VARCHAR},
+      complaint_class_state = #{complaintClassState,jdbcType=BIT},
+      complaint_create_time = #{complaintCreateTime,jdbcType=TIMESTAMP},
+      complaint_update_time = #{complaintUpdateTime,jdbcType=TIMESTAMP}
+    where complaint_id = #{complaintId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 27 - 0
watero-rst-web/src/main/resources/watero-rst-orm.xml

@@ -53,6 +53,33 @@
 		<typeAlias type="com.iamberry.rst.core.pts.PtsSupplier" alias="PtsSupplier"/>
 		<typeAlias type="com.iamberry.rst.core.pts.PtsMachineVersion" alias="PtsMachineVersion"/>
 		<typeAlias type="com.iamberry.rst.core.pts.PtsSalesCompany" alias="PtsSalesCompany"/>
+
+		<typeAlias type="com.iamberry.rst.core.cm.AwaitingSignclosedProductInfo" alias="AwaitingSignclosedProductInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.BackGoods" alias="BackGoods"/>
+		<typeAlias type="com.iamberry.rst.core.cm.ClosedFitting" alias="ClosedFitting"/>
+		<typeAlias type="com.iamberry.rst.core.cm.ClosedProdcue" alias="ClosedProdcue"/>
+		<typeAlias type="com.iamberry.rst.core.cm.CompanyInfo" alias="CompanyInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.ComplaintDetectInfo" alias="ComplaintDetectInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.ComplaintMaintenanceInfo" alias="ComplaintMaintenanceInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.ComplaintQuestionInfo" alias="ComplaintQuestionInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.ComplaintSignclosedInfo" alias="ComplaintSignclosedInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.ComplaintSmallClassInfo" alias="ComplaintSmallClassInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.ComplaintTypeInfo" alias="ComplaintTypeInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.CustomerInfo" alias="CustomerInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.FittingsInfo" alias="FittingsInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.NoreasonBack" alias="NoreasonBack"/>
+		<typeAlias type="com.iamberry.rst.core.cm.QuestionDescribe" alias="QuestionDescribe"/>
+		<typeAlias type="com.iamberry.rst.core.cm.Reissue" alias="Reissue"/>
+		<typeAlias type="com.iamberry.rst.core.cm.Renewed" alias="Renewed"/>
+		<typeAlias type="com.iamberry.rst.core.cm.Repair" alias="Repair"/>
+		<typeAlias type="com.iamberry.rst.core.cm.SalesOrder" alias="SalesOrder"/>
+		<typeAlias type="com.iamberry.rst.core.cm.SalesOrderItem" alias="SalesOrderItem"/>
+		<typeAlias type="com.iamberry.rst.core.cm.SendFitting" alias="SendFitting"/>
+		<typeAlias type="com.iamberry.rst.core.cm.PtsSaSendProdcuelesCompany" alias="SendProdcue"/>
+		<typeAlias type="com.iamberry.rst.core.cm.SignclosedProductInfo" alias="SignclosedProductInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.StoreInfo" alias="StoreInfo"/>
+		<typeAlias type="com.iamberry.rst.core.cm.Visit" alias="Visit"/>
+
 	</typeAliases>
 	<!-- PageHelper -->
 	<plugins>