LAPTOP-FO2T5SIU\35838 месяцев назад: 5
Родитель
Сommit
1f880f0846

+ 2 - 11
pro-base/src/main/java/com/idea/customerManagement/service/IntentionalDepositService.java

@@ -348,17 +348,8 @@ public class IntentionalDepositService implements BaseService<IntentionalDeposit
             payLogMapper.updateByPrimaryKeySelective(payLog);
 
             // TODO: 2025/1/3 具体操作待定 
-//            // nc收款记录修改一条记录
-//            CollectionRecordExample collectionRecordExample = new CollectionRecordExample();
-//            collectionRecordExample.createCriteria().andBusinessIdEqualTo(payLog.getId());
-//            List<CollectionRecord> collectionRecords = collectionRecordMapper.selectByExample(collectionRecordExample);
-//            if(CollectionUtils.isNotEmpty(collectionRecords)){
-//                CollectionRecord collectionRecord = collectionRecords.get(0);
-//                collectionRecord.setPayMoney(model.getReceivedAmount());
-//                collectionRecord.setUpdatedAt(new Date());
-//                collectionRecord.setUpdatedBy(userId);
-//                collectionRecordMapper.updateByExampleSelective(collectionRecord,collectionRecordExample);
-//            }
+//            // nc收款/修改记录 做出调整
+
 
 
         }

+ 37 - 0
pro-base/src/main/java/com/idea/transactionRecordManage/mapper/CollectionEditRecordMapper.java

@@ -0,0 +1,37 @@
+package com.idea.transactionRecordManage.mapper;
+
+import java.util.List;
+
+import com.idea.transactionRecordManage.model.CollectionEditRecord;
+import com.idea.transactionRecordManage.model.CollectionEditRecordExample;
+import org.apache.ibatis.annotations.Param;
+
+public interface CollectionEditRecordMapper {
+    long countByExample(CollectionEditRecordExample example);
+
+    int deleteByExample(CollectionEditRecordExample example);
+
+    int deleteByPrimaryKey(String id);
+
+    int insert(CollectionEditRecord record);
+
+    int insertSelective(CollectionEditRecord record);
+
+    List<CollectionEditRecord> selectByExampleWithBLOBs(CollectionEditRecordExample example);
+
+    List<CollectionEditRecord> selectByExample(CollectionEditRecordExample example);
+
+    CollectionEditRecord selectByPrimaryKey(String id);
+
+    int updateByExampleSelective(@Param("record") CollectionEditRecord record, @Param("example") CollectionEditRecordExample example);
+
+    int updateByExampleWithBLOBs(@Param("record") CollectionEditRecord record, @Param("example") CollectionEditRecordExample example);
+
+    int updateByExample(@Param("record") CollectionEditRecord record, @Param("example") CollectionEditRecordExample example);
+
+    int updateByPrimaryKeySelective(CollectionEditRecord record);
+
+    int updateByPrimaryKeyWithBLOBs(CollectionEditRecord record);
+
+    int updateByPrimaryKey(CollectionEditRecord record);
+}

+ 219 - 0
pro-base/src/main/java/com/idea/transactionRecordManage/model/CollectionEditRecord.java

@@ -0,0 +1,219 @@
+package com.idea.transactionRecordManage.model;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class CollectionEditRecord implements Serializable {
+    private String id;
+
+    private String groupId;
+
+    private String discId;
+
+    private String houseId;
+
+    private String customerManagementId;
+
+    private String businessId;
+
+    private String businessType;
+
+    private Integer contentType;
+
+    private String bankNumber;
+
+    private BigDecimal payMoney;
+
+    private Date payTime;
+
+    private Integer paymentMethod;
+
+    private Integer ncSubmitStatus;
+
+    private Date ncSubmitDate;
+
+    private String ncSubmitName;
+
+    private String ncBankSerialId;
+
+    private String createdBy;
+
+    private Date createdAt;
+
+    private String updatedBy;
+
+    private Date updatedAt;
+
+    private String ncJson;
+
+    private static final long serialVersionUID = 1L;
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    public String getGroupId() {
+        return groupId;
+    }
+
+    public void setGroupId(String groupId) {
+        this.groupId = groupId == null ? null : groupId.trim();
+    }
+
+    public String getDiscId() {
+        return discId;
+    }
+
+    public void setDiscId(String discId) {
+        this.discId = discId == null ? null : discId.trim();
+    }
+
+    public String getHouseId() {
+        return houseId;
+    }
+
+    public void setHouseId(String houseId) {
+        this.houseId = houseId == null ? null : houseId.trim();
+    }
+
+    public String getCustomerManagementId() {
+        return customerManagementId;
+    }
+
+    public void setCustomerManagementId(String customerManagementId) {
+        this.customerManagementId = customerManagementId == null ? null : customerManagementId.trim();
+    }
+
+    public String getBusinessId() {
+        return businessId;
+    }
+
+    public void setBusinessId(String businessId) {
+        this.businessId = businessId == null ? null : businessId.trim();
+    }
+
+    public String getBusinessType() {
+        return businessType;
+    }
+
+    public void setBusinessType(String businessType) {
+        this.businessType = businessType == null ? null : businessType.trim();
+    }
+
+    public Integer getContentType() {
+        return contentType;
+    }
+
+    public void setContentType(Integer contentType) {
+        this.contentType = contentType;
+    }
+
+    public String getBankNumber() {
+        return bankNumber;
+    }
+
+    public void setBankNumber(String bankNumber) {
+        this.bankNumber = bankNumber == null ? null : bankNumber.trim();
+    }
+
+    public BigDecimal getPayMoney() {
+        return payMoney;
+    }
+
+    public void setPayMoney(BigDecimal payMoney) {
+        this.payMoney = payMoney;
+    }
+
+    public Date getPayTime() {
+        return payTime;
+    }
+
+    public void setPayTime(Date payTime) {
+        this.payTime = payTime;
+    }
+
+    public Integer getPaymentMethod() {
+        return paymentMethod;
+    }
+
+    public void setPaymentMethod(Integer paymentMethod) {
+        this.paymentMethod = paymentMethod;
+    }
+
+    public Integer getNcSubmitStatus() {
+        return ncSubmitStatus;
+    }
+
+    public void setNcSubmitStatus(Integer ncSubmitStatus) {
+        this.ncSubmitStatus = ncSubmitStatus;
+    }
+
+    public Date getNcSubmitDate() {
+        return ncSubmitDate;
+    }
+
+    public void setNcSubmitDate(Date ncSubmitDate) {
+        this.ncSubmitDate = ncSubmitDate;
+    }
+
+    public String getNcSubmitName() {
+        return ncSubmitName;
+    }
+
+    public void setNcSubmitName(String ncSubmitName) {
+        this.ncSubmitName = ncSubmitName == null ? null : ncSubmitName.trim();
+    }
+
+    public String getNcBankSerialId() {
+        return ncBankSerialId;
+    }
+
+    public void setNcBankSerialId(String ncBankSerialId) {
+        this.ncBankSerialId = ncBankSerialId == null ? null : ncBankSerialId.trim();
+    }
+
+    public String getCreatedBy() {
+        return createdBy;
+    }
+
+    public void setCreatedBy(String createdBy) {
+        this.createdBy = createdBy == null ? null : createdBy.trim();
+    }
+
+    public Date getCreatedAt() {
+        return createdAt;
+    }
+
+    public void setCreatedAt(Date createdAt) {
+        this.createdAt = createdAt;
+    }
+
+    public String getUpdatedBy() {
+        return updatedBy;
+    }
+
+    public void setUpdatedBy(String updatedBy) {
+        this.updatedBy = updatedBy == null ? null : updatedBy.trim();
+    }
+
+    public Date getUpdatedAt() {
+        return updatedAt;
+    }
+
+    public void setUpdatedAt(Date updatedAt) {
+        this.updatedAt = updatedAt;
+    }
+
+    public String getNcJson() {
+        return ncJson;
+    }
+
+    public void setNcJson(String ncJson) {
+        this.ncJson = ncJson == null ? null : ncJson.trim();
+    }
+}

Разница между файлами не показана из-за своего большого размера
+ 1522 - 0
pro-base/src/main/java/com/idea/transactionRecordManage/model/CollectionEditRecordExample.java


+ 538 - 0
pro-base/src/main/resources/mybatis/transactionRecord/CollectionEditRecordMapper.xml

@@ -0,0 +1,538 @@
+<?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.idea.transactionRecordManage.mapper.CollectionEditRecordMapper">
+  <resultMap id="BaseResultMap" type="com.idea.transactionRecordManage.model.CollectionEditRecord">
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="group_id" jdbcType="VARCHAR" property="groupId" />
+    <result column="disc_id" jdbcType="VARCHAR" property="discId" />
+    <result column="house_id" jdbcType="VARCHAR" property="houseId" />
+    <result column="customer_management_id" jdbcType="VARCHAR" property="customerManagementId" />
+    <result column="business_id" jdbcType="VARCHAR" property="businessId" />
+    <result column="business_type" jdbcType="VARCHAR" property="businessType" />
+    <result column="content_type" jdbcType="INTEGER" property="contentType" />
+    <result column="bank_number" jdbcType="CHAR" property="bankNumber" />
+    <result column="pay_money" jdbcType="DECIMAL" property="payMoney" />
+    <result column="pay_time" jdbcType="TIMESTAMP" property="payTime" />
+    <result column="payment_method" jdbcType="INTEGER" property="paymentMethod" />
+    <result column="nc_submit_status" jdbcType="INTEGER" property="ncSubmitStatus" />
+    <result column="nc_submit_date" jdbcType="TIMESTAMP" property="ncSubmitDate" />
+    <result column="nc_submit_name" jdbcType="VARCHAR" property="ncSubmitName" />
+    <result column="nc_bank_serial_id" jdbcType="VARCHAR" property="ncBankSerialId" />
+    <result column="created_by" jdbcType="VARCHAR" property="createdBy" />
+    <result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
+    <result column="updated_by" jdbcType="VARCHAR" property="updatedBy" />
+    <result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
+  </resultMap>
+  <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.transactionRecordManage.model.CollectionEditRecord">
+    <result column="nc_json" jdbcType="LONGVARCHAR" property="ncJson" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <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 close=")" collection="criterion.value" item="listItem" open="(" 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="(" prefixOverrides="and" suffix=")">
+            <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 close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    id, group_id, disc_id, house_id, customer_management_id, business_id, business_type, 
+    content_type, bank_number, pay_money, pay_time, payment_method, nc_submit_status, 
+    nc_submit_date, nc_submit_name, nc_bank_serial_id, created_by, created_at, updated_by, 
+    updated_at
+  </sql>
+  <sql id="Blob_Column_List">
+    nc_json
+  </sql>
+  <select id="selectByExampleWithBLOBs" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecordExample" resultMap="ResultMapWithBLOBs">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    ,
+    <include refid="Blob_Column_List" />
+    from collection_edit_record
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByExample" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecordExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from collection_edit_record
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
+    select 
+    <include refid="Base_Column_List" />
+    ,
+    <include refid="Blob_Column_List" />
+    from collection_edit_record
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from collection_edit_record
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecordExample">
+    delete from collection_edit_record
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecord">
+    insert into collection_edit_record (id, group_id, disc_id, 
+      house_id, customer_management_id, business_id, 
+      business_type, content_type, bank_number, 
+      pay_money, pay_time, payment_method, 
+      nc_submit_status, nc_submit_date, nc_submit_name, 
+      nc_bank_serial_id, created_by, created_at, 
+      updated_by, updated_at, nc_json
+      )
+    values (#{id,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, #{discId,jdbcType=VARCHAR}, 
+      #{houseId,jdbcType=VARCHAR}, #{customerManagementId,jdbcType=VARCHAR}, #{businessId,jdbcType=VARCHAR}, 
+      #{businessType,jdbcType=VARCHAR}, #{contentType,jdbcType=INTEGER}, #{bankNumber,jdbcType=CHAR}, 
+      #{payMoney,jdbcType=DECIMAL}, #{payTime,jdbcType=TIMESTAMP}, #{paymentMethod,jdbcType=INTEGER}, 
+      #{ncSubmitStatus,jdbcType=INTEGER}, #{ncSubmitDate,jdbcType=TIMESTAMP}, #{ncSubmitName,jdbcType=VARCHAR}, 
+      #{ncBankSerialId,jdbcType=VARCHAR}, #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, 
+      #{updatedBy,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP}, #{ncJson,jdbcType=LONGVARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecord">
+    insert into collection_edit_record
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="groupId != null">
+        group_id,
+      </if>
+      <if test="discId != null">
+        disc_id,
+      </if>
+      <if test="houseId != null">
+        house_id,
+      </if>
+      <if test="customerManagementId != null">
+        customer_management_id,
+      </if>
+      <if test="businessId != null">
+        business_id,
+      </if>
+      <if test="businessType != null">
+        business_type,
+      </if>
+      <if test="contentType != null">
+        content_type,
+      </if>
+      <if test="bankNumber != null">
+        bank_number,
+      </if>
+      <if test="payMoney != null">
+        pay_money,
+      </if>
+      <if test="payTime != null">
+        pay_time,
+      </if>
+      <if test="paymentMethod != null">
+        payment_method,
+      </if>
+      <if test="ncSubmitStatus != null">
+        nc_submit_status,
+      </if>
+      <if test="ncSubmitDate != null">
+        nc_submit_date,
+      </if>
+      <if test="ncSubmitName != null">
+        nc_submit_name,
+      </if>
+      <if test="ncBankSerialId != null">
+        nc_bank_serial_id,
+      </if>
+      <if test="createdBy != null">
+        created_by,
+      </if>
+      <if test="createdAt != null">
+        created_at,
+      </if>
+      <if test="updatedBy != null">
+        updated_by,
+      </if>
+      <if test="updatedAt != null">
+        updated_at,
+      </if>
+      <if test="ncJson != null">
+        nc_json,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="groupId != null">
+        #{groupId,jdbcType=VARCHAR},
+      </if>
+      <if test="discId != null">
+        #{discId,jdbcType=VARCHAR},
+      </if>
+      <if test="houseId != null">
+        #{houseId,jdbcType=VARCHAR},
+      </if>
+      <if test="customerManagementId != null">
+        #{customerManagementId,jdbcType=VARCHAR},
+      </if>
+      <if test="businessId != null">
+        #{businessId,jdbcType=VARCHAR},
+      </if>
+      <if test="businessType != null">
+        #{businessType,jdbcType=VARCHAR},
+      </if>
+      <if test="contentType != null">
+        #{contentType,jdbcType=INTEGER},
+      </if>
+      <if test="bankNumber != null">
+        #{bankNumber,jdbcType=CHAR},
+      </if>
+      <if test="payMoney != null">
+        #{payMoney,jdbcType=DECIMAL},
+      </if>
+      <if test="payTime != null">
+        #{payTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="paymentMethod != null">
+        #{paymentMethod,jdbcType=INTEGER},
+      </if>
+      <if test="ncSubmitStatus != null">
+        #{ncSubmitStatus,jdbcType=INTEGER},
+      </if>
+      <if test="ncSubmitDate != null">
+        #{ncSubmitDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="ncSubmitName != null">
+        #{ncSubmitName,jdbcType=VARCHAR},
+      </if>
+      <if test="ncBankSerialId != null">
+        #{ncBankSerialId,jdbcType=VARCHAR},
+      </if>
+      <if test="createdBy != null">
+        #{createdBy,jdbcType=VARCHAR},
+      </if>
+      <if test="createdAt != null">
+        #{createdAt,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updatedBy != null">
+        #{updatedBy,jdbcType=VARCHAR},
+      </if>
+      <if test="updatedAt != null">
+        #{updatedAt,jdbcType=TIMESTAMP},
+      </if>
+      <if test="ncJson != null">
+        #{ncJson,jdbcType=LONGVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecordExample" resultType="java.lang.Long">
+    select count(*) from collection_edit_record
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update collection_edit_record
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.groupId != null">
+        group_id = #{record.groupId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.discId != null">
+        disc_id = #{record.discId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.houseId != null">
+        house_id = #{record.houseId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.customerManagementId != null">
+        customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.businessId != null">
+        business_id = #{record.businessId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.businessType != null">
+        business_type = #{record.businessType,jdbcType=VARCHAR},
+      </if>
+      <if test="record.contentType != null">
+        content_type = #{record.contentType,jdbcType=INTEGER},
+      </if>
+      <if test="record.bankNumber != null">
+        bank_number = #{record.bankNumber,jdbcType=CHAR},
+      </if>
+      <if test="record.payMoney != null">
+        pay_money = #{record.payMoney,jdbcType=DECIMAL},
+      </if>
+      <if test="record.payTime != null">
+        pay_time = #{record.payTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.paymentMethod != null">
+        payment_method = #{record.paymentMethod,jdbcType=INTEGER},
+      </if>
+      <if test="record.ncSubmitStatus != null">
+        nc_submit_status = #{record.ncSubmitStatus,jdbcType=INTEGER},
+      </if>
+      <if test="record.ncSubmitDate != null">
+        nc_submit_date = #{record.ncSubmitDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.ncSubmitName != null">
+        nc_submit_name = #{record.ncSubmitName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ncBankSerialId != null">
+        nc_bank_serial_id = #{record.ncBankSerialId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createdBy != null">
+        created_by = #{record.createdBy,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createdAt != null">
+        created_at = #{record.createdAt,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.updatedBy != null">
+        updated_by = #{record.updatedBy,jdbcType=VARCHAR},
+      </if>
+      <if test="record.updatedAt != null">
+        updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.ncJson != null">
+        nc_json = #{record.ncJson,jdbcType=LONGVARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExampleWithBLOBs" parameterType="map">
+    update collection_edit_record
+    set id = #{record.id,jdbcType=VARCHAR},
+      group_id = #{record.groupId,jdbcType=VARCHAR},
+      disc_id = #{record.discId,jdbcType=VARCHAR},
+      house_id = #{record.houseId,jdbcType=VARCHAR},
+      customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
+      business_id = #{record.businessId,jdbcType=VARCHAR},
+      business_type = #{record.businessType,jdbcType=VARCHAR},
+      content_type = #{record.contentType,jdbcType=INTEGER},
+      bank_number = #{record.bankNumber,jdbcType=CHAR},
+      pay_money = #{record.payMoney,jdbcType=DECIMAL},
+      pay_time = #{record.payTime,jdbcType=TIMESTAMP},
+      payment_method = #{record.paymentMethod,jdbcType=INTEGER},
+      nc_submit_status = #{record.ncSubmitStatus,jdbcType=INTEGER},
+      nc_submit_date = #{record.ncSubmitDate,jdbcType=TIMESTAMP},
+      nc_submit_name = #{record.ncSubmitName,jdbcType=VARCHAR},
+      nc_bank_serial_id = #{record.ncBankSerialId,jdbcType=VARCHAR},
+      created_by = #{record.createdBy,jdbcType=VARCHAR},
+      created_at = #{record.createdAt,jdbcType=TIMESTAMP},
+      updated_by = #{record.updatedBy,jdbcType=VARCHAR},
+      updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
+      nc_json = #{record.ncJson,jdbcType=LONGVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update collection_edit_record
+    set id = #{record.id,jdbcType=VARCHAR},
+      group_id = #{record.groupId,jdbcType=VARCHAR},
+      disc_id = #{record.discId,jdbcType=VARCHAR},
+      house_id = #{record.houseId,jdbcType=VARCHAR},
+      customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
+      business_id = #{record.businessId,jdbcType=VARCHAR},
+      business_type = #{record.businessType,jdbcType=VARCHAR},
+      content_type = #{record.contentType,jdbcType=INTEGER},
+      bank_number = #{record.bankNumber,jdbcType=CHAR},
+      pay_money = #{record.payMoney,jdbcType=DECIMAL},
+      pay_time = #{record.payTime,jdbcType=TIMESTAMP},
+      payment_method = #{record.paymentMethod,jdbcType=INTEGER},
+      nc_submit_status = #{record.ncSubmitStatus,jdbcType=INTEGER},
+      nc_submit_date = #{record.ncSubmitDate,jdbcType=TIMESTAMP},
+      nc_submit_name = #{record.ncSubmitName,jdbcType=VARCHAR},
+      nc_bank_serial_id = #{record.ncBankSerialId,jdbcType=VARCHAR},
+      created_by = #{record.createdBy,jdbcType=VARCHAR},
+      created_at = #{record.createdAt,jdbcType=TIMESTAMP},
+      updated_by = #{record.updatedBy,jdbcType=VARCHAR},
+      updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecord">
+    update collection_edit_record
+    <set>
+      <if test="groupId != null">
+        group_id = #{groupId,jdbcType=VARCHAR},
+      </if>
+      <if test="discId != null">
+        disc_id = #{discId,jdbcType=VARCHAR},
+      </if>
+      <if test="houseId != null">
+        house_id = #{houseId,jdbcType=VARCHAR},
+      </if>
+      <if test="customerManagementId != null">
+        customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
+      </if>
+      <if test="businessId != null">
+        business_id = #{businessId,jdbcType=VARCHAR},
+      </if>
+      <if test="businessType != null">
+        business_type = #{businessType,jdbcType=VARCHAR},
+      </if>
+      <if test="contentType != null">
+        content_type = #{contentType,jdbcType=INTEGER},
+      </if>
+      <if test="bankNumber != null">
+        bank_number = #{bankNumber,jdbcType=CHAR},
+      </if>
+      <if test="payMoney != null">
+        pay_money = #{payMoney,jdbcType=DECIMAL},
+      </if>
+      <if test="payTime != null">
+        pay_time = #{payTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="paymentMethod != null">
+        payment_method = #{paymentMethod,jdbcType=INTEGER},
+      </if>
+      <if test="ncSubmitStatus != null">
+        nc_submit_status = #{ncSubmitStatus,jdbcType=INTEGER},
+      </if>
+      <if test="ncSubmitDate != null">
+        nc_submit_date = #{ncSubmitDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="ncSubmitName != null">
+        nc_submit_name = #{ncSubmitName,jdbcType=VARCHAR},
+      </if>
+      <if test="ncBankSerialId != null">
+        nc_bank_serial_id = #{ncBankSerialId,jdbcType=VARCHAR},
+      </if>
+      <if test="createdBy != null">
+        created_by = #{createdBy,jdbcType=VARCHAR},
+      </if>
+      <if test="createdAt != null">
+        created_at = #{createdAt,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updatedBy != null">
+        updated_by = #{updatedBy,jdbcType=VARCHAR},
+      </if>
+      <if test="updatedAt != null">
+        updated_at = #{updatedAt,jdbcType=TIMESTAMP},
+      </if>
+      <if test="ncJson != null">
+        nc_json = #{ncJson,jdbcType=LONGVARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecord">
+    update collection_edit_record
+    set group_id = #{groupId,jdbcType=VARCHAR},
+      disc_id = #{discId,jdbcType=VARCHAR},
+      house_id = #{houseId,jdbcType=VARCHAR},
+      customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
+      business_id = #{businessId,jdbcType=VARCHAR},
+      business_type = #{businessType,jdbcType=VARCHAR},
+      content_type = #{contentType,jdbcType=INTEGER},
+      bank_number = #{bankNumber,jdbcType=CHAR},
+      pay_money = #{payMoney,jdbcType=DECIMAL},
+      pay_time = #{payTime,jdbcType=TIMESTAMP},
+      payment_method = #{paymentMethod,jdbcType=INTEGER},
+      nc_submit_status = #{ncSubmitStatus,jdbcType=INTEGER},
+      nc_submit_date = #{ncSubmitDate,jdbcType=TIMESTAMP},
+      nc_submit_name = #{ncSubmitName,jdbcType=VARCHAR},
+      nc_bank_serial_id = #{ncBankSerialId,jdbcType=VARCHAR},
+      created_by = #{createdBy,jdbcType=VARCHAR},
+      created_at = #{createdAt,jdbcType=TIMESTAMP},
+      updated_by = #{updatedBy,jdbcType=VARCHAR},
+      updated_at = #{updatedAt,jdbcType=TIMESTAMP},
+      nc_json = #{ncJson,jdbcType=LONGVARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.idea.transactionRecordManage.model.CollectionEditRecord">
+    update collection_edit_record
+    set group_id = #{groupId,jdbcType=VARCHAR},
+      disc_id = #{discId,jdbcType=VARCHAR},
+      house_id = #{houseId,jdbcType=VARCHAR},
+      customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
+      business_id = #{businessId,jdbcType=VARCHAR},
+      business_type = #{businessType,jdbcType=VARCHAR},
+      content_type = #{contentType,jdbcType=INTEGER},
+      bank_number = #{bankNumber,jdbcType=CHAR},
+      pay_money = #{payMoney,jdbcType=DECIMAL},
+      pay_time = #{payTime,jdbcType=TIMESTAMP},
+      payment_method = #{paymentMethod,jdbcType=INTEGER},
+      nc_submit_status = #{ncSubmitStatus,jdbcType=INTEGER},
+      nc_submit_date = #{ncSubmitDate,jdbcType=TIMESTAMP},
+      nc_submit_name = #{ncSubmitName,jdbcType=VARCHAR},
+      nc_bank_serial_id = #{ncBankSerialId,jdbcType=VARCHAR},
+      created_by = #{createdBy,jdbcType=VARCHAR},
+      created_at = #{createdAt,jdbcType=TIMESTAMP},
+      updated_by = #{updatedBy,jdbcType=VARCHAR},
+      updated_at = #{updatedAt,jdbcType=TIMESTAMP}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>