Browse Source

调整资金模块的基础

huangx 7 years ago
parent
commit
ead5ea352e

+ 16 - 8
applications/money/money-server/pom.xml

@@ -11,20 +11,16 @@
 
     <artifactId>money-server</artifactId>
     <dependencies>
-        <dependency>
-            <groupId>com.usoftchina.saas</groupId>
-            <artifactId>auth-client</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.usoftchina.saas</groupId>
-            <artifactId>server-starter</artifactId>
-        </dependency>
 
         <!--test-->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
 
         <!-- db -->
         <dependency>
@@ -62,6 +58,16 @@
             <groupId>org.springframework.cloud</groupId>
             <artifactId>spring-cloud-starter-openfeign</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-web</artifactId>
+            <version>5.0.8.RELEASE</version>
+        </dependency>
+        <dependency>
+            <groupId>com.usoftchina.saas</groupId>
+            <artifactId>core</artifactId>
+        </dependency>
+
     </dependencies>
 
     <build>
@@ -77,4 +83,6 @@
         </plugins>
     </build>
 
+
+
 </project>

+ 7 - 3
applications/money/money-server/src/main/java/com/usoftchina/saas/money/MoneyApplicatiion.java

@@ -1,8 +1,10 @@
 package com.usoftchina.saas.money;
 
 import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
+//import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
+import org.springframework.cloud.openfeign.EnableFeignClients;
 import org.springframework.transaction.annotation.EnableTransactionManagement;
 
 /**
@@ -10,11 +12,13 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
  * @create: 2018-10-20 11:29
  **/
 @SpringBootApplication
-@EnableEurekaClient
+//@EnableEurekaClient
 @EnableTransactionManagement
+@EnableFeignClients("com.usoftchina.saas")
+//@EnableAuthClient
 @MapperScan("com.usoftchina.saas.money.mapper")
 public class MoneyApplicatiion {
     public static void main(String[] args) {
-
+        SpringApplication.run(MoneyApplicatiion.class, args);
     }
 }

+ 2 - 1
applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/BanksubledgerMapper.java

@@ -1,6 +1,7 @@
 package com.usoftchina.saas.money.mapper;
 
 
+import com.usoftchina.saas.base.mapper.CommonBaseMapper;
 import com.usoftchina.saas.money.po.Banksubledger;
 import com.usoftchina.saas.money.po.BanksubledgerExample;
 import org.apache.ibatis.annotations.Param;
@@ -11,7 +12,7 @@ import java.util.List;
  * @author hx
  * @createtime 2018-10-19 15:57
  */
-public interface BanksubledgerMapper {
+public interface BanksubledgerMapper extends CommonBaseMapper<Banksubledger> {
     int countByExample(BanksubledgerExample example);
 
     int deleteByExample(BanksubledgerExample example);

+ 2 - 1
applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/PaybalanceMapper.java

@@ -1,11 +1,12 @@
 package com.usoftchina.saas.money.mapper;
 
+import com.usoftchina.saas.base.mapper.CommonBaseMapper;
 import com.usoftchina.saas.money.po.Paybalance;
 import com.usoftchina.saas.money.po.PaybalanceExample;
 import java.util.List;
 import org.apache.ibatis.annotations.Param;
 
-public interface PaybalanceMapper {
+public interface PaybalanceMapper extends CommonBaseMapper<Paybalance> {
     int countByExample(PaybalanceExample example);
 
     int deleteByExample(PaybalanceExample example);

+ 3 - 1
applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/RecbalanceMapper.java

@@ -1,15 +1,17 @@
 package com.usoftchina.saas.money.mapper;
 
+import com.usoftchina.saas.base.mapper.CommonBaseMapper;
 import com.usoftchina.saas.money.po.Recbalance;
 import com.usoftchina.saas.money.po.RecbalanceExample;
 import java.util.List;
 import org.apache.ibatis.annotations.Param;
 
+
 /**
  * @author hx
  * @createtime 2018-10-19 15:58
  */
-public interface RecbalanceMapper {
+public interface RecbalanceMapper extends CommonBaseMapper<Recbalance> {
     int countByExample(RecbalanceExample example);
 
     int deleteByExample(RecbalanceExample example);

+ 2 - 1
applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/RecbalancedetMapper.java

@@ -1,11 +1,12 @@
 package com.usoftchina.saas.money.mapper;
 
+import com.usoftchina.saas.base.mapper.CommonBaseMapper;
 import com.usoftchina.saas.money.po.Recbalancedet;
 import com.usoftchina.saas.money.po.RecbalancedetExample;
 import java.util.List;
 import org.apache.ibatis.annotations.Param;
 
-public interface RecbalancedetMapper {
+public interface RecbalancedetMapper extends CommonBaseMapper<Recbalancedet> {
     int countByExample(RecbalancedetExample example);
 
     int deleteByExample(RecbalancedetExample example);

+ 2 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Banksubledger.java

@@ -1,6 +1,7 @@
 package com.usoftchina.saas.money.po;
 
 import com.usoftchina.saas.base.entity.CommonBaseEntity;
+import lombok.Data;
 
 import java.io.Serializable;
 import java.util.Date;
@@ -9,6 +10,7 @@ import java.util.Date;
  * @author hx
  * @createtime 2018-10-19 15:58
  */
+@Data
 public class Banksubledger extends CommonBaseEntity implements Serializable {
     private Integer bl_id;  //ID
 

+ 6 - 31
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Paybalance.java

@@ -1,5 +1,9 @@
 package com.usoftchina.saas.money.po;
 
+import com.usoftchina.saas.base.entity.CommonBaseEntity;
+import lombok.Data;
+
+import java.io.Serializable;
 import java.math.BigDecimal;
 import java.util.Date;
 
@@ -7,7 +11,8 @@ import java.util.Date;
  * @author hx
  * @createtime 2018-10-19 16:03
  */
-public class Paybalance {
+@Data
+public class Paybalance extends CommonBaseEntity implements Serializable {
     private Integer pb_id;
 
     private String pb_code;
@@ -46,12 +51,6 @@ public class Paybalance {
 
     private String pb_remark;
 
-    private Integer companyid;
-
-    private Integer updaterId;
-
-    private Date updatedate;
-
     private String pb_text1;
 
     private String pb_text2;
@@ -214,30 +213,6 @@ public class Paybalance {
         this.pb_remark = pb_remark == null ? null : pb_remark.trim();
     }
 
-    public Integer getCompanyid() {
-        return companyid;
-    }
-
-    public void setCompanyid(Integer companyid) {
-        this.companyid = companyid;
-    }
-
-    public Integer getUpdaterId() {
-        return updaterId;
-    }
-
-    public void setUpdaterId(Integer updaterId) {
-        this.updaterId = updaterId;
-    }
-
-    public Date getUpdatedate() {
-        return updatedate;
-    }
-
-    public void setUpdatedate(Date updatedate) {
-        this.updatedate = updatedate;
-    }
-
     public String getPb_text1() {
         return pb_text1;
     }

+ 2 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Recbalance.java

@@ -1,6 +1,7 @@
 package com.usoftchina.saas.money.po;
 
 import com.usoftchina.saas.base.entity.CommonBaseEntity;
+import lombok.Data;
 
 import java.io.Serializable;
 import java.util.Date;
@@ -9,6 +10,7 @@ import java.util.Date;
  * @author hx
  * @createtime 2018-10-19 15:59
  */
+@Data
 public class Recbalance extends CommonBaseEntity implements Serializable {
     private Integer rb_id;
 

+ 2 - 30
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Recbalancedet.java

@@ -1,6 +1,7 @@
 package com.usoftchina.saas.money.po;
 
 import com.usoftchina.saas.base.entity.CommonBaseEntity;
+import lombok.Data;
 
 import java.io.Serializable;
 import java.util.Date;
@@ -9,6 +10,7 @@ import java.util.Date;
  * @author hx
  * @createtime 2018-10-19 16:03
  */
+@Data
 public class Recbalancedet extends CommonBaseEntity implements Serializable{
     private Integer rd_id;
 
@@ -32,12 +34,6 @@ public class Recbalancedet extends CommonBaseEntity implements Serializable{
 
     private String rd_remark;
 
-    private Integer companyid;
-
-    private Integer updaterId;
-
-    private Date updatedate;
-
     private String rd_text1;
 
     private String rd_text2;
@@ -136,30 +132,6 @@ public class Recbalancedet extends CommonBaseEntity implements Serializable{
         this.rd_remark = rd_remark == null ? null : rd_remark.trim();
     }
 
-    public Integer getCompanyid() {
-        return companyid;
-    }
-
-    public void setCompanyid(Integer companyid) {
-        this.companyid = companyid;
-    }
-
-    public Integer getUpdaterId() {
-        return updaterId;
-    }
-
-    public void setUpdaterId(Integer updaterId) {
-        this.updaterId = updaterId;
-    }
-
-    public Date getUpdatedate() {
-        return updatedate;
-    }
-
-    public void setUpdatedate(Date updatedate) {
-        this.updatedate = updatedate;
-    }
-
     public String getRd_text1() {
         return rd_text1;
     }

File diff suppressed because it is too large
+ 352 - 766
applications/money/money-server/src/main/resources/mapper/BanksubledgerMapper.xml


+ 1 - 556
applications/money/money-server/src/main/resources/mapper/PaybalanceMapper.xml

@@ -557,560 +557,5 @@
       pb_text5 = #{pb_text5,jdbcType=VARCHAR}
     where pb_id = #{pb_id,jdbcType=INTEGER}
   </update>
-  <resultMap id="BaseResultMap" type="com.usoftchina.saas.money.po.Paybalance">
-    <id column="pb_id" jdbcType="INTEGER" property="pb_id" />
-    <result column="pb_code" jdbcType="VARCHAR" property="pb_code" />
-    <result column="pb_kind" jdbcType="VARCHAR" property="pb_kind" />
-    <result column="pb_date" jdbcType="TIMESTAMP" property="pb_date" />
-    <result column="pb_vendid" jdbcType="INTEGER" property="pb_vendid" />
-    <result column="pb_vendcode" jdbcType="VARCHAR" property="pb_vendcode" />
-    <result column="pb_vendname" jdbcType="VARCHAR" property="pb_vendname" />
-    <result column="pb_manname" jdbcType="VARCHAR" property="pb_manname" />
-    <result column="pb_pdamount" jdbcType="DOUBLE" property="pb_pdamount" />
-    <result column="pb_pbdamount" jdbcType="DOUBLE" property="pb_pbdamount" />
-    <result column="pb_preamount" jdbcType="DOUBLE" property="pb_preamount" />
-    <result column="pb_discounts" jdbcType="DOUBLE" property="pb_discounts" />
-    <result column="pb_havebalance" jdbcType="DOUBLE" property="pb_havebalance" />
-    <result column="pb_recorderid" jdbcType="INTEGER" property="pb_recorderid" />
-    <result column="pb_recorder" jdbcType="VARCHAR" property="pb_recorder" />
-    <result column="pb_recorddate" jdbcType="TIMESTAMP" property="pb_recorddate" />
-    <result column="pb_status" jdbcType="INTEGER" property="pb_status" />
-    <result column="pb_statuscode" jdbcType="DECIMAL" property="pb_statuscode" />
-    <result column="pb_remark" jdbcType="VARCHAR" property="pb_remark" />
-    <result column="companyid" jdbcType="INTEGER" property="companyid" />
-    <result column="updaterId" jdbcType="INTEGER" property="updaterId" />
-    <result column="updatedate" jdbcType="TIMESTAMP" property="updatedate" />
-    <result column="pb_text1" jdbcType="VARCHAR" property="pb_text1" />
-    <result column="pb_text2" jdbcType="VARCHAR" property="pb_text2" />
-    <result column="pb_text3" jdbcType="VARCHAR" property="pb_text3" />
-    <result column="pb_text4" jdbcType="VARCHAR" property="pb_text4" />
-    <result column="pb_text5" jdbcType="VARCHAR" property="pb_text5" />
-  </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">
-    pb_id, pb_code, pb_kind, pb_date, pb_vendid, pb_vendcode, pb_vendname, pb_manname, 
-    pb_pdamount, pb_pbdamount, pb_preamount, pb_discounts, pb_havebalance, pb_recorderid, 
-    pb_recorder, pb_recorddate, pb_status, pb_statuscode, pb_remark, companyid, updaterId, 
-    updatedate, pb_text1, pb_text2, pb_text3, pb_text4, pb_text5
-  </sql>
-  <select id="selectByExample" parameterType="com.usoftchina.saas.money.po.PaybalanceExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from paybalance
-    <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.Integer" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from paybalance
-    where pb_id = #{pb_id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    delete from paybalance
-    where pb_id = #{pb_id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.usoftchina.saas.money.po.PaybalanceExample">
-    delete from paybalance
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.usoftchina.saas.money.po.Paybalance">
-    insert into paybalance (pb_id, pb_code, pb_kind, 
-      pb_date, pb_vendid, pb_vendcode, 
-      pb_vendname, pb_manname, pb_pdamount, 
-      pb_pbdamount, pb_preamount, pb_discounts, 
-      pb_havebalance, pb_recorderid, pb_recorder, 
-      pb_recorddate, pb_status, pb_statuscode, 
-      pb_remark, companyid, updaterId, 
-      updatedate, pb_text1, pb_text2, 
-      pb_text3, pb_text4, pb_text5
-      )
-    values (#{pb_id,jdbcType=INTEGER}, #{pb_code,jdbcType=VARCHAR}, #{pb_kind,jdbcType=VARCHAR}, 
-      #{pb_date,jdbcType=TIMESTAMP}, #{pb_vendid,jdbcType=INTEGER}, #{pb_vendcode,jdbcType=VARCHAR}, 
-      #{pb_vendname,jdbcType=VARCHAR}, #{pb_manname,jdbcType=VARCHAR}, #{pb_pdamount,jdbcType=DOUBLE}, 
-      #{pb_pbdamount,jdbcType=DOUBLE}, #{pb_preamount,jdbcType=DOUBLE}, #{pb_discounts,jdbcType=DOUBLE}, 
-      #{pb_havebalance,jdbcType=DOUBLE}, #{pb_recorderid,jdbcType=INTEGER}, #{pb_recorder,jdbcType=VARCHAR}, 
-      #{pb_recorddate,jdbcType=TIMESTAMP}, #{pb_status,jdbcType=INTEGER}, #{pb_statuscode,jdbcType=DECIMAL}, 
-      #{pb_remark,jdbcType=VARCHAR}, #{companyid,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER}, 
-      #{updatedate,jdbcType=TIMESTAMP}, #{pb_text1,jdbcType=VARCHAR}, #{pb_text2,jdbcType=VARCHAR}, 
-      #{pb_text3,jdbcType=VARCHAR}, #{pb_text4,jdbcType=VARCHAR}, #{pb_text5,jdbcType=VARCHAR}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.usoftchina.saas.money.po.Paybalance">
-    insert into paybalance
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="pb_id != null">
-        pb_id,
-      </if>
-      <if test="pb_code != null">
-        pb_code,
-      </if>
-      <if test="pb_kind != null">
-        pb_kind,
-      </if>
-      <if test="pb_date != null">
-        pb_date,
-      </if>
-      <if test="pb_vendid != null">
-        pb_vendid,
-      </if>
-      <if test="pb_vendcode != null">
-        pb_vendcode,
-      </if>
-      <if test="pb_vendname != null">
-        pb_vendname,
-      </if>
-      <if test="pb_manname != null">
-        pb_manname,
-      </if>
-      <if test="pb_pdamount != null">
-        pb_pdamount,
-      </if>
-      <if test="pb_pbdamount != null">
-        pb_pbdamount,
-      </if>
-      <if test="pb_preamount != null">
-        pb_preamount,
-      </if>
-      <if test="pb_discounts != null">
-        pb_discounts,
-      </if>
-      <if test="pb_havebalance != null">
-        pb_havebalance,
-      </if>
-      <if test="pb_recorderid != null">
-        pb_recorderid,
-      </if>
-      <if test="pb_recorder != null">
-        pb_recorder,
-      </if>
-      <if test="pb_recorddate != null">
-        pb_recorddate,
-      </if>
-      <if test="pb_status != null">
-        pb_status,
-      </if>
-      <if test="pb_statuscode != null">
-        pb_statuscode,
-      </if>
-      <if test="pb_remark != null">
-        pb_remark,
-      </if>
-      <if test="companyid != null">
-        companyid,
-      </if>
-      <if test="updaterId != null">
-        updaterId,
-      </if>
-      <if test="updatedate != null">
-        updatedate,
-      </if>
-      <if test="pb_text1 != null">
-        pb_text1,
-      </if>
-      <if test="pb_text2 != null">
-        pb_text2,
-      </if>
-      <if test="pb_text3 != null">
-        pb_text3,
-      </if>
-      <if test="pb_text4 != null">
-        pb_text4,
-      </if>
-      <if test="pb_text5 != null">
-        pb_text5,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="pb_id != null">
-        #{pb_id,jdbcType=INTEGER},
-      </if>
-      <if test="pb_code != null">
-        #{pb_code,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_kind != null">
-        #{pb_kind,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_date != null">
-        #{pb_date,jdbcType=TIMESTAMP},
-      </if>
-      <if test="pb_vendid != null">
-        #{pb_vendid,jdbcType=INTEGER},
-      </if>
-      <if test="pb_vendcode != null">
-        #{pb_vendcode,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_vendname != null">
-        #{pb_vendname,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_manname != null">
-        #{pb_manname,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_pdamount != null">
-        #{pb_pdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_pbdamount != null">
-        #{pb_pbdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_preamount != null">
-        #{pb_preamount,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_discounts != null">
-        #{pb_discounts,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_havebalance != null">
-        #{pb_havebalance,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_recorderid != null">
-        #{pb_recorderid,jdbcType=INTEGER},
-      </if>
-      <if test="pb_recorder != null">
-        #{pb_recorder,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_recorddate != null">
-        #{pb_recorddate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="pb_status != null">
-        #{pb_status,jdbcType=INTEGER},
-      </if>
-      <if test="pb_statuscode != null">
-        #{pb_statuscode,jdbcType=DECIMAL},
-      </if>
-      <if test="pb_remark != null">
-        #{pb_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="companyid != null">
-        #{companyid,jdbcType=INTEGER},
-      </if>
-      <if test="updaterId != null">
-        #{updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="updatedate != null">
-        #{updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="pb_text1 != null">
-        #{pb_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_text2 != null">
-        #{pb_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_text3 != null">
-        #{pb_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_text4 != null">
-        #{pb_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_text5 != null">
-        #{pb_text5,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.usoftchina.saas.money.po.PaybalanceExample" resultType="java.lang.Integer">
-    select count(*) from paybalance
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    update paybalance
-    <set>
-      <if test="record.pb_id != null">
-        pb_id = #{record.pb_id,jdbcType=INTEGER},
-      </if>
-      <if test="record.pb_code != null">
-        pb_code = #{record.pb_code,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_kind != null">
-        pb_kind = #{record.pb_kind,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_date != null">
-        pb_date = #{record.pb_date,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.pb_vendid != null">
-        pb_vendid = #{record.pb_vendid,jdbcType=INTEGER},
-      </if>
-      <if test="record.pb_vendcode != null">
-        pb_vendcode = #{record.pb_vendcode,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_vendname != null">
-        pb_vendname = #{record.pb_vendname,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_manname != null">
-        pb_manname = #{record.pb_manname,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_pdamount != null">
-        pb_pdamount = #{record.pb_pdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.pb_pbdamount != null">
-        pb_pbdamount = #{record.pb_pbdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.pb_preamount != null">
-        pb_preamount = #{record.pb_preamount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.pb_discounts != null">
-        pb_discounts = #{record.pb_discounts,jdbcType=DOUBLE},
-      </if>
-      <if test="record.pb_havebalance != null">
-        pb_havebalance = #{record.pb_havebalance,jdbcType=DOUBLE},
-      </if>
-      <if test="record.pb_recorderid != null">
-        pb_recorderid = #{record.pb_recorderid,jdbcType=INTEGER},
-      </if>
-      <if test="record.pb_recorder != null">
-        pb_recorder = #{record.pb_recorder,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_recorddate != null">
-        pb_recorddate = #{record.pb_recorddate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.pb_status != null">
-        pb_status = #{record.pb_status,jdbcType=INTEGER},
-      </if>
-      <if test="record.pb_statuscode != null">
-        pb_statuscode = #{record.pb_statuscode,jdbcType=DECIMAL},
-      </if>
-      <if test="record.pb_remark != null">
-        pb_remark = #{record.pb_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="record.companyid != null">
-        companyid = #{record.companyid,jdbcType=INTEGER},
-      </if>
-      <if test="record.updaterId != null">
-        updaterId = #{record.updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="record.updatedate != null">
-        updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.pb_text1 != null">
-        pb_text1 = #{record.pb_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_text2 != null">
-        pb_text2 = #{record.pb_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_text3 != null">
-        pb_text3 = #{record.pb_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_text4 != null">
-        pb_text4 = #{record.pb_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="record.pb_text5 != null">
-        pb_text5 = #{record.pb_text5,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    update paybalance
-    set pb_id = #{record.pb_id,jdbcType=INTEGER},
-      pb_code = #{record.pb_code,jdbcType=VARCHAR},
-      pb_kind = #{record.pb_kind,jdbcType=VARCHAR},
-      pb_date = #{record.pb_date,jdbcType=TIMESTAMP},
-      pb_vendid = #{record.pb_vendid,jdbcType=INTEGER},
-      pb_vendcode = #{record.pb_vendcode,jdbcType=VARCHAR},
-      pb_vendname = #{record.pb_vendname,jdbcType=VARCHAR},
-      pb_manname = #{record.pb_manname,jdbcType=VARCHAR},
-      pb_pdamount = #{record.pb_pdamount,jdbcType=DOUBLE},
-      pb_pbdamount = #{record.pb_pbdamount,jdbcType=DOUBLE},
-      pb_preamount = #{record.pb_preamount,jdbcType=DOUBLE},
-      pb_discounts = #{record.pb_discounts,jdbcType=DOUBLE},
-      pb_havebalance = #{record.pb_havebalance,jdbcType=DOUBLE},
-      pb_recorderid = #{record.pb_recorderid,jdbcType=INTEGER},
-      pb_recorder = #{record.pb_recorder,jdbcType=VARCHAR},
-      pb_recorddate = #{record.pb_recorddate,jdbcType=TIMESTAMP},
-      pb_status = #{record.pb_status,jdbcType=INTEGER},
-      pb_statuscode = #{record.pb_statuscode,jdbcType=DECIMAL},
-      pb_remark = #{record.pb_remark,jdbcType=VARCHAR},
-      companyid = #{record.companyid,jdbcType=INTEGER},
-      updaterId = #{record.updaterId,jdbcType=INTEGER},
-      updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
-      pb_text1 = #{record.pb_text1,jdbcType=VARCHAR},
-      pb_text2 = #{record.pb_text2,jdbcType=VARCHAR},
-      pb_text3 = #{record.pb_text3,jdbcType=VARCHAR},
-      pb_text4 = #{record.pb_text4,jdbcType=VARCHAR},
-      pb_text5 = #{record.pb_text5,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.money.po.Paybalance">
-    update paybalance
-    <set>
-      <if test="pb_code != null">
-        pb_code = #{pb_code,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_kind != null">
-        pb_kind = #{pb_kind,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_date != null">
-        pb_date = #{pb_date,jdbcType=TIMESTAMP},
-      </if>
-      <if test="pb_vendid != null">
-        pb_vendid = #{pb_vendid,jdbcType=INTEGER},
-      </if>
-      <if test="pb_vendcode != null">
-        pb_vendcode = #{pb_vendcode,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_vendname != null">
-        pb_vendname = #{pb_vendname,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_manname != null">
-        pb_manname = #{pb_manname,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_pdamount != null">
-        pb_pdamount = #{pb_pdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_pbdamount != null">
-        pb_pbdamount = #{pb_pbdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_preamount != null">
-        pb_preamount = #{pb_preamount,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_discounts != null">
-        pb_discounts = #{pb_discounts,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_havebalance != null">
-        pb_havebalance = #{pb_havebalance,jdbcType=DOUBLE},
-      </if>
-      <if test="pb_recorderid != null">
-        pb_recorderid = #{pb_recorderid,jdbcType=INTEGER},
-      </if>
-      <if test="pb_recorder != null">
-        pb_recorder = #{pb_recorder,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_recorddate != null">
-        pb_recorddate = #{pb_recorddate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="pb_status != null">
-        pb_status = #{pb_status,jdbcType=INTEGER},
-      </if>
-      <if test="pb_statuscode != null">
-        pb_statuscode = #{pb_statuscode,jdbcType=DECIMAL},
-      </if>
-      <if test="pb_remark != null">
-        pb_remark = #{pb_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="companyid != null">
-        companyid = #{companyid,jdbcType=INTEGER},
-      </if>
-      <if test="updaterId != null">
-        updaterId = #{updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="updatedate != null">
-        updatedate = #{updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="pb_text1 != null">
-        pb_text1 = #{pb_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_text2 != null">
-        pb_text2 = #{pb_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_text3 != null">
-        pb_text3 = #{pb_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_text4 != null">
-        pb_text4 = #{pb_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="pb_text5 != null">
-        pb_text5 = #{pb_text5,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where pb_id = #{pb_id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.money.po.Paybalance">
-    update paybalance
-    set pb_code = #{pb_code,jdbcType=VARCHAR},
-      pb_kind = #{pb_kind,jdbcType=VARCHAR},
-      pb_date = #{pb_date,jdbcType=TIMESTAMP},
-      pb_vendid = #{pb_vendid,jdbcType=INTEGER},
-      pb_vendcode = #{pb_vendcode,jdbcType=VARCHAR},
-      pb_vendname = #{pb_vendname,jdbcType=VARCHAR},
-      pb_manname = #{pb_manname,jdbcType=VARCHAR},
-      pb_pdamount = #{pb_pdamount,jdbcType=DOUBLE},
-      pb_pbdamount = #{pb_pbdamount,jdbcType=DOUBLE},
-      pb_preamount = #{pb_preamount,jdbcType=DOUBLE},
-      pb_discounts = #{pb_discounts,jdbcType=DOUBLE},
-      pb_havebalance = #{pb_havebalance,jdbcType=DOUBLE},
-      pb_recorderid = #{pb_recorderid,jdbcType=INTEGER},
-      pb_recorder = #{pb_recorder,jdbcType=VARCHAR},
-      pb_recorddate = #{pb_recorddate,jdbcType=TIMESTAMP},
-      pb_status = #{pb_status,jdbcType=INTEGER},
-      pb_statuscode = #{pb_statuscode,jdbcType=DECIMAL},
-      pb_remark = #{pb_remark,jdbcType=VARCHAR},
-      companyid = #{companyid,jdbcType=INTEGER},
-      updaterId = #{updaterId,jdbcType=INTEGER},
-      updatedate = #{updatedate,jdbcType=TIMESTAMP},
-      pb_text1 = #{pb_text1,jdbcType=VARCHAR},
-      pb_text2 = #{pb_text2,jdbcType=VARCHAR},
-      pb_text3 = #{pb_text3,jdbcType=VARCHAR},
-      pb_text4 = #{pb_text4,jdbcType=VARCHAR},
-      pb_text5 = #{pb_text5,jdbcType=VARCHAR}
-    where pb_id = #{pb_id,jdbcType=INTEGER}
-  </update>
+
 </mapper>

+ 1 - 556
applications/money/money-server/src/main/resources/mapper/RecbalanceMapper.xml

@@ -557,560 +557,5 @@
       rb_text5 = #{rb_text5,jdbcType=VARCHAR}
     where rb_id = #{rb_id,jdbcType=INTEGER}
   </update>
-  <resultMap id="BaseResultMap" type="com.usoftchina.saas.money.po.Recbalance">
-    <id column="rb_id" jdbcType="INTEGER" property="rb_id" />
-    <result column="rb_code" jdbcType="VARCHAR" property="rb_code" />
-    <result column="rb_kind" jdbcType="VARCHAR" property="rb_kind" />
-    <result column="rb_date" jdbcType="TIMESTAMP" property="rb_date" />
-    <result column="rb_custid" jdbcType="INTEGER" property="rb_custid" />
-    <result column="rb_custcode" jdbcType="VARCHAR" property="rb_custcode" />
-    <result column="rb_custname" jdbcType="VARCHAR" property="rb_custname" />
-    <result column="rb_manname" jdbcType="VARCHAR" property="rb_manname" />
-    <result column="rb_rdamount" jdbcType="DOUBLE" property="rb_rdamount" />
-    <result column="rb_rbdamount" jdbcType="DOUBLE" property="rb_rbdamount" />
-    <result column="rb_preamount" jdbcType="DOUBLE" property="rb_preamount" />
-    <result column="rb_discounts" jdbcType="DOUBLE" property="rb_discounts" />
-    <result column="rb_havebalance" jdbcType="DOUBLE" property="rb_havebalance" />
-    <result column="rb_recorderid" jdbcType="INTEGER" property="rb_recorderid" />
-    <result column="rb_recorder" jdbcType="VARCHAR" property="rb_recorder" />
-    <result column="rb_recorddate" jdbcType="TIMESTAMP" property="rb_recorddate" />
-    <result column="rb_status" jdbcType="INTEGER" property="rb_status" />
-    <result column="rb_statuscode" jdbcType="DECIMAL" property="rb_statuscode" />
-    <result column="rb_remark" jdbcType="VARCHAR" property="rb_remark" />
-    <result column="companyid" jdbcType="INTEGER" property="companyid" />
-    <result column="updaterId" jdbcType="INTEGER" property="updaterId" />
-    <result column="updatedate" jdbcType="TIMESTAMP" property="updatedate" />
-    <result column="rb_text1" jdbcType="VARCHAR" property="rb_text1" />
-    <result column="rb_text2" jdbcType="VARCHAR" property="rb_text2" />
-    <result column="rb_text3" jdbcType="VARCHAR" property="rb_text3" />
-    <result column="rb_text4" jdbcType="VARCHAR" property="rb_text4" />
-    <result column="rb_text5" jdbcType="VARCHAR" property="rb_text5" />
-  </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">
-    rb_id, rb_code, rb_kind, rb_date, rb_custid, rb_custcode, rb_custname, rb_manname, 
-    rb_rdamount, rb_rbdamount, rb_preamount, rb_discounts, rb_havebalance, rb_recorderid, 
-    rb_recorder, rb_recorddate, rb_status, rb_statuscode, rb_remark, companyid, updaterId, 
-    updatedate, rb_text1, rb_text2, rb_text3, rb_text4, rb_text5
-  </sql>
-  <select id="selectByExample" parameterType="com.usoftchina.saas.money.po.RecbalanceExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from recbalance
-    <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.Integer" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from recbalance
-    where rb_id = #{rb_id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    delete from recbalance
-    where rb_id = #{rb_id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.usoftchina.saas.money.po.RecbalanceExample">
-    delete from recbalance
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.usoftchina.saas.money.po.Recbalance">
-    insert into recbalance (rb_id, rb_code, rb_kind, 
-      rb_date, rb_custid, rb_custcode, 
-      rb_custname, rb_manname, rb_rdamount, 
-      rb_rbdamount, rb_preamount, rb_discounts, 
-      rb_havebalance, rb_recorderid, rb_recorder, 
-      rb_recorddate, rb_status, rb_statuscode, 
-      rb_remark, companyid, updaterId, 
-      updatedate, rb_text1, rb_text2, 
-      rb_text3, rb_text4, rb_text5
-      )
-    values (#{rb_id,jdbcType=INTEGER}, #{rb_code,jdbcType=VARCHAR}, #{rb_kind,jdbcType=VARCHAR}, 
-      #{rb_date,jdbcType=TIMESTAMP}, #{rb_custid,jdbcType=INTEGER}, #{rb_custcode,jdbcType=VARCHAR}, 
-      #{rb_custname,jdbcType=VARCHAR}, #{rb_manname,jdbcType=VARCHAR}, #{rb_rdamount,jdbcType=DOUBLE}, 
-      #{rb_rbdamount,jdbcType=DOUBLE}, #{rb_preamount,jdbcType=DOUBLE}, #{rb_discounts,jdbcType=DOUBLE}, 
-      #{rb_havebalance,jdbcType=DOUBLE}, #{rb_recorderid,jdbcType=INTEGER}, #{rb_recorder,jdbcType=VARCHAR}, 
-      #{rb_recorddate,jdbcType=TIMESTAMP}, #{rb_status,jdbcType=INTEGER}, #{rb_statuscode,jdbcType=DECIMAL}, 
-      #{rb_remark,jdbcType=VARCHAR}, #{companyid,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER}, 
-      #{updatedate,jdbcType=TIMESTAMP}, #{rb_text1,jdbcType=VARCHAR}, #{rb_text2,jdbcType=VARCHAR}, 
-      #{rb_text3,jdbcType=VARCHAR}, #{rb_text4,jdbcType=VARCHAR}, #{rb_text5,jdbcType=VARCHAR}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.usoftchina.saas.money.po.Recbalance">
-    insert into recbalance
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="rb_id != null">
-        rb_id,
-      </if>
-      <if test="rb_code != null">
-        rb_code,
-      </if>
-      <if test="rb_kind != null">
-        rb_kind,
-      </if>
-      <if test="rb_date != null">
-        rb_date,
-      </if>
-      <if test="rb_custid != null">
-        rb_custid,
-      </if>
-      <if test="rb_custcode != null">
-        rb_custcode,
-      </if>
-      <if test="rb_custname != null">
-        rb_custname,
-      </if>
-      <if test="rb_manname != null">
-        rb_manname,
-      </if>
-      <if test="rb_rdamount != null">
-        rb_rdamount,
-      </if>
-      <if test="rb_rbdamount != null">
-        rb_rbdamount,
-      </if>
-      <if test="rb_preamount != null">
-        rb_preamount,
-      </if>
-      <if test="rb_discounts != null">
-        rb_discounts,
-      </if>
-      <if test="rb_havebalance != null">
-        rb_havebalance,
-      </if>
-      <if test="rb_recorderid != null">
-        rb_recorderid,
-      </if>
-      <if test="rb_recorder != null">
-        rb_recorder,
-      </if>
-      <if test="rb_recorddate != null">
-        rb_recorddate,
-      </if>
-      <if test="rb_status != null">
-        rb_status,
-      </if>
-      <if test="rb_statuscode != null">
-        rb_statuscode,
-      </if>
-      <if test="rb_remark != null">
-        rb_remark,
-      </if>
-      <if test="companyid != null">
-        companyid,
-      </if>
-      <if test="updaterId != null">
-        updaterId,
-      </if>
-      <if test="updatedate != null">
-        updatedate,
-      </if>
-      <if test="rb_text1 != null">
-        rb_text1,
-      </if>
-      <if test="rb_text2 != null">
-        rb_text2,
-      </if>
-      <if test="rb_text3 != null">
-        rb_text3,
-      </if>
-      <if test="rb_text4 != null">
-        rb_text4,
-      </if>
-      <if test="rb_text5 != null">
-        rb_text5,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="rb_id != null">
-        #{rb_id,jdbcType=INTEGER},
-      </if>
-      <if test="rb_code != null">
-        #{rb_code,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_kind != null">
-        #{rb_kind,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_date != null">
-        #{rb_date,jdbcType=TIMESTAMP},
-      </if>
-      <if test="rb_custid != null">
-        #{rb_custid,jdbcType=INTEGER},
-      </if>
-      <if test="rb_custcode != null">
-        #{rb_custcode,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_custname != null">
-        #{rb_custname,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_manname != null">
-        #{rb_manname,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_rdamount != null">
-        #{rb_rdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_rbdamount != null">
-        #{rb_rbdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_preamount != null">
-        #{rb_preamount,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_discounts != null">
-        #{rb_discounts,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_havebalance != null">
-        #{rb_havebalance,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_recorderid != null">
-        #{rb_recorderid,jdbcType=INTEGER},
-      </if>
-      <if test="rb_recorder != null">
-        #{rb_recorder,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_recorddate != null">
-        #{rb_recorddate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="rb_status != null">
-        #{rb_status,jdbcType=INTEGER},
-      </if>
-      <if test="rb_statuscode != null">
-        #{rb_statuscode,jdbcType=DECIMAL},
-      </if>
-      <if test="rb_remark != null">
-        #{rb_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="companyid != null">
-        #{companyid,jdbcType=INTEGER},
-      </if>
-      <if test="updaterId != null">
-        #{updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="updatedate != null">
-        #{updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="rb_text1 != null">
-        #{rb_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_text2 != null">
-        #{rb_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_text3 != null">
-        #{rb_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_text4 != null">
-        #{rb_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_text5 != null">
-        #{rb_text5,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.usoftchina.saas.money.po.RecbalanceExample" resultType="java.lang.Integer">
-    select count(*) from recbalance
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    update recbalance
-    <set>
-      <if test="record.rb_id != null">
-        rb_id = #{record.rb_id,jdbcType=INTEGER},
-      </if>
-      <if test="record.rb_code != null">
-        rb_code = #{record.rb_code,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_kind != null">
-        rb_kind = #{record.rb_kind,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_date != null">
-        rb_date = #{record.rb_date,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.rb_custid != null">
-        rb_custid = #{record.rb_custid,jdbcType=INTEGER},
-      </if>
-      <if test="record.rb_custcode != null">
-        rb_custcode = #{record.rb_custcode,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_custname != null">
-        rb_custname = #{record.rb_custname,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_manname != null">
-        rb_manname = #{record.rb_manname,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_rdamount != null">
-        rb_rdamount = #{record.rb_rdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.rb_rbdamount != null">
-        rb_rbdamount = #{record.rb_rbdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.rb_preamount != null">
-        rb_preamount = #{record.rb_preamount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.rb_discounts != null">
-        rb_discounts = #{record.rb_discounts,jdbcType=DOUBLE},
-      </if>
-      <if test="record.rb_havebalance != null">
-        rb_havebalance = #{record.rb_havebalance,jdbcType=DOUBLE},
-      </if>
-      <if test="record.rb_recorderid != null">
-        rb_recorderid = #{record.rb_recorderid,jdbcType=INTEGER},
-      </if>
-      <if test="record.rb_recorder != null">
-        rb_recorder = #{record.rb_recorder,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_recorddate != null">
-        rb_recorddate = #{record.rb_recorddate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.rb_status != null">
-        rb_status = #{record.rb_status,jdbcType=INTEGER},
-      </if>
-      <if test="record.rb_statuscode != null">
-        rb_statuscode = #{record.rb_statuscode,jdbcType=DECIMAL},
-      </if>
-      <if test="record.rb_remark != null">
-        rb_remark = #{record.rb_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="record.companyid != null">
-        companyid = #{record.companyid,jdbcType=INTEGER},
-      </if>
-      <if test="record.updaterId != null">
-        updaterId = #{record.updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="record.updatedate != null">
-        updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.rb_text1 != null">
-        rb_text1 = #{record.rb_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_text2 != null">
-        rb_text2 = #{record.rb_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_text3 != null">
-        rb_text3 = #{record.rb_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_text4 != null">
-        rb_text4 = #{record.rb_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rb_text5 != null">
-        rb_text5 = #{record.rb_text5,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    update recbalance
-    set rb_id = #{record.rb_id,jdbcType=INTEGER},
-      rb_code = #{record.rb_code,jdbcType=VARCHAR},
-      rb_kind = #{record.rb_kind,jdbcType=VARCHAR},
-      rb_date = #{record.rb_date,jdbcType=TIMESTAMP},
-      rb_custid = #{record.rb_custid,jdbcType=INTEGER},
-      rb_custcode = #{record.rb_custcode,jdbcType=VARCHAR},
-      rb_custname = #{record.rb_custname,jdbcType=VARCHAR},
-      rb_manname = #{record.rb_manname,jdbcType=VARCHAR},
-      rb_rdamount = #{record.rb_rdamount,jdbcType=DOUBLE},
-      rb_rbdamount = #{record.rb_rbdamount,jdbcType=DOUBLE},
-      rb_preamount = #{record.rb_preamount,jdbcType=DOUBLE},
-      rb_discounts = #{record.rb_discounts,jdbcType=DOUBLE},
-      rb_havebalance = #{record.rb_havebalance,jdbcType=DOUBLE},
-      rb_recorderid = #{record.rb_recorderid,jdbcType=INTEGER},
-      rb_recorder = #{record.rb_recorder,jdbcType=VARCHAR},
-      rb_recorddate = #{record.rb_recorddate,jdbcType=TIMESTAMP},
-      rb_status = #{record.rb_status,jdbcType=INTEGER},
-      rb_statuscode = #{record.rb_statuscode,jdbcType=DECIMAL},
-      rb_remark = #{record.rb_remark,jdbcType=VARCHAR},
-      companyid = #{record.companyid,jdbcType=INTEGER},
-      updaterId = #{record.updaterId,jdbcType=INTEGER},
-      updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
-      rb_text1 = #{record.rb_text1,jdbcType=VARCHAR},
-      rb_text2 = #{record.rb_text2,jdbcType=VARCHAR},
-      rb_text3 = #{record.rb_text3,jdbcType=VARCHAR},
-      rb_text4 = #{record.rb_text4,jdbcType=VARCHAR},
-      rb_text5 = #{record.rb_text5,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.money.po.Recbalance">
-    update recbalance
-    <set>
-      <if test="rb_code != null">
-        rb_code = #{rb_code,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_kind != null">
-        rb_kind = #{rb_kind,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_date != null">
-        rb_date = #{rb_date,jdbcType=TIMESTAMP},
-      </if>
-      <if test="rb_custid != null">
-        rb_custid = #{rb_custid,jdbcType=INTEGER},
-      </if>
-      <if test="rb_custcode != null">
-        rb_custcode = #{rb_custcode,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_custname != null">
-        rb_custname = #{rb_custname,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_manname != null">
-        rb_manname = #{rb_manname,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_rdamount != null">
-        rb_rdamount = #{rb_rdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_rbdamount != null">
-        rb_rbdamount = #{rb_rbdamount,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_preamount != null">
-        rb_preamount = #{rb_preamount,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_discounts != null">
-        rb_discounts = #{rb_discounts,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_havebalance != null">
-        rb_havebalance = #{rb_havebalance,jdbcType=DOUBLE},
-      </if>
-      <if test="rb_recorderid != null">
-        rb_recorderid = #{rb_recorderid,jdbcType=INTEGER},
-      </if>
-      <if test="rb_recorder != null">
-        rb_recorder = #{rb_recorder,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_recorddate != null">
-        rb_recorddate = #{rb_recorddate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="rb_status != null">
-        rb_status = #{rb_status,jdbcType=INTEGER},
-      </if>
-      <if test="rb_statuscode != null">
-        rb_statuscode = #{rb_statuscode,jdbcType=DECIMAL},
-      </if>
-      <if test="rb_remark != null">
-        rb_remark = #{rb_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="companyid != null">
-        companyid = #{companyid,jdbcType=INTEGER},
-      </if>
-      <if test="updaterId != null">
-        updaterId = #{updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="updatedate != null">
-        updatedate = #{updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="rb_text1 != null">
-        rb_text1 = #{rb_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_text2 != null">
-        rb_text2 = #{rb_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_text3 != null">
-        rb_text3 = #{rb_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_text4 != null">
-        rb_text4 = #{rb_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="rb_text5 != null">
-        rb_text5 = #{rb_text5,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where rb_id = #{rb_id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.money.po.Recbalance">
-    update recbalance
-    set rb_code = #{rb_code,jdbcType=VARCHAR},
-      rb_kind = #{rb_kind,jdbcType=VARCHAR},
-      rb_date = #{rb_date,jdbcType=TIMESTAMP},
-      rb_custid = #{rb_custid,jdbcType=INTEGER},
-      rb_custcode = #{rb_custcode,jdbcType=VARCHAR},
-      rb_custname = #{rb_custname,jdbcType=VARCHAR},
-      rb_manname = #{rb_manname,jdbcType=VARCHAR},
-      rb_rdamount = #{rb_rdamount,jdbcType=DOUBLE},
-      rb_rbdamount = #{rb_rbdamount,jdbcType=DOUBLE},
-      rb_preamount = #{rb_preamount,jdbcType=DOUBLE},
-      rb_discounts = #{rb_discounts,jdbcType=DOUBLE},
-      rb_havebalance = #{rb_havebalance,jdbcType=DOUBLE},
-      rb_recorderid = #{rb_recorderid,jdbcType=INTEGER},
-      rb_recorder = #{rb_recorder,jdbcType=VARCHAR},
-      rb_recorddate = #{rb_recorddate,jdbcType=TIMESTAMP},
-      rb_status = #{rb_status,jdbcType=INTEGER},
-      rb_statuscode = #{rb_statuscode,jdbcType=DECIMAL},
-      rb_remark = #{rb_remark,jdbcType=VARCHAR},
-      companyid = #{companyid,jdbcType=INTEGER},
-      updaterId = #{updaterId,jdbcType=INTEGER},
-      updatedate = #{updatedate,jdbcType=TIMESTAMP},
-      rb_text1 = #{rb_text1,jdbcType=VARCHAR},
-      rb_text2 = #{rb_text2,jdbcType=VARCHAR},
-      rb_text3 = #{rb_text3,jdbcType=VARCHAR},
-      rb_text4 = #{rb_text4,jdbcType=VARCHAR},
-      rb_text5 = #{rb_text5,jdbcType=VARCHAR}
-    where rb_id = #{rb_id,jdbcType=INTEGER}
-  </update>
+
 </mapper>

+ 1 - 429
applications/money/money-server/src/main/resources/mapper/RecbalancedetMapper.xml

@@ -430,433 +430,5 @@
       rd_text5 = #{rd_text5,jdbcType=VARCHAR}
     where rd_id = #{rd_id,jdbcType=INTEGER}
   </update>
-  <resultMap id="BaseResultMap" type="com.usoftchina.saas.money.po.Recbalancedet">
-    <id column="rd_id" jdbcType="INTEGER" property="rd_id" />
-    <result column="rd_rbid" jdbcType="INTEGER" property="rd_rbid" />
-    <result column="rd_detno" jdbcType="INTEGER" property="rd_detno" />
-    <result column="rd_ym" jdbcType="INTEGER" property="rd_ym" />
-    <result column="rd_bankid" jdbcType="INTEGER" property="rd_bankid" />
-    <result column="rd_bankcode" jdbcType="VARCHAR" property="rd_bankcode" />
-    <result column="rd_bankname" jdbcType="VARCHAR" property="rd_bankname" />
-    <result column="rd_amount" jdbcType="DOUBLE" property="rd_amount" />
-    <result column="rd_paymethod" jdbcType="VARCHAR" property="rd_paymethod" />
-    <result column="rd_paycode" jdbcType="VARCHAR" property="rd_paycode" />
-    <result column="rd_remark" jdbcType="VARCHAR" property="rd_remark" />
-    <result column="companyid" jdbcType="INTEGER" property="companyid" />
-    <result column="updaterId" jdbcType="INTEGER" property="updaterId" />
-    <result column="updatedate" jdbcType="TIMESTAMP" property="updatedate" />
-    <result column="rd_text1" jdbcType="VARCHAR" property="rd_text1" />
-    <result column="rd_text2" jdbcType="VARCHAR" property="rd_text2" />
-    <result column="rd_text3" jdbcType="VARCHAR" property="rd_text3" />
-    <result column="rd_text4" jdbcType="VARCHAR" property="rd_text4" />
-    <result column="rd_text5" jdbcType="VARCHAR" property="rd_text5" />
-  </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">
-    rd_id, rd_rbid, rd_detno, rd_ym, rd_bankid, rd_bankcode, rd_bankname, rd_amount, 
-    rd_paymethod, rd_paycode, rd_remark, companyid, updaterId, updatedate, rd_text1, 
-    rd_text2, rd_text3, rd_text4, rd_text5
-  </sql>
-  <select id="selectByExample" parameterType="com.usoftchina.saas.money.po.RecbalancedetExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from recbalancedet
-    <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.Integer" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from recbalancedet
-    where rd_id = #{rd_id,jdbcType=INTEGER}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
-    delete from recbalancedet
-    where rd_id = #{rd_id,jdbcType=INTEGER}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.usoftchina.saas.money.po.RecbalancedetExample">
-    delete from recbalancedet
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.usoftchina.saas.money.po.Recbalancedet">
-    insert into recbalancedet (rd_id, rd_rbid, rd_detno, 
-      rd_ym, rd_bankid, rd_bankcode, 
-      rd_bankname, rd_amount, rd_paymethod, 
-      rd_paycode, rd_remark, companyid, 
-      updaterId, updatedate, rd_text1, 
-      rd_text2, rd_text3, rd_text4, 
-      rd_text5)
-    values (#{rd_id,jdbcType=INTEGER}, #{rd_rbid,jdbcType=INTEGER}, #{rd_detno,jdbcType=INTEGER}, 
-      #{rd_ym,jdbcType=INTEGER}, #{rd_bankid,jdbcType=INTEGER}, #{rd_bankcode,jdbcType=VARCHAR}, 
-      #{rd_bankname,jdbcType=VARCHAR}, #{rd_amount,jdbcType=DOUBLE}, #{rd_paymethod,jdbcType=VARCHAR}, 
-      #{rd_paycode,jdbcType=VARCHAR}, #{rd_remark,jdbcType=VARCHAR}, #{companyid,jdbcType=INTEGER}, 
-      #{updaterId,jdbcType=INTEGER}, #{updatedate,jdbcType=TIMESTAMP}, #{rd_text1,jdbcType=VARCHAR}, 
-      #{rd_text2,jdbcType=VARCHAR}, #{rd_text3,jdbcType=VARCHAR}, #{rd_text4,jdbcType=VARCHAR}, 
-      #{rd_text5,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="com.usoftchina.saas.money.po.Recbalancedet">
-    insert into recbalancedet
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="rd_id != null">
-        rd_id,
-      </if>
-      <if test="rd_rbid != null">
-        rd_rbid,
-      </if>
-      <if test="rd_detno != null">
-        rd_detno,
-      </if>
-      <if test="rd_ym != null">
-        rd_ym,
-      </if>
-      <if test="rd_bankid != null">
-        rd_bankid,
-      </if>
-      <if test="rd_bankcode != null">
-        rd_bankcode,
-      </if>
-      <if test="rd_bankname != null">
-        rd_bankname,
-      </if>
-      <if test="rd_amount != null">
-        rd_amount,
-      </if>
-      <if test="rd_paymethod != null">
-        rd_paymethod,
-      </if>
-      <if test="rd_paycode != null">
-        rd_paycode,
-      </if>
-      <if test="rd_remark != null">
-        rd_remark,
-      </if>
-      <if test="companyid != null">
-        companyid,
-      </if>
-      <if test="updaterId != null">
-        updaterId,
-      </if>
-      <if test="updatedate != null">
-        updatedate,
-      </if>
-      <if test="rd_text1 != null">
-        rd_text1,
-      </if>
-      <if test="rd_text2 != null">
-        rd_text2,
-      </if>
-      <if test="rd_text3 != null">
-        rd_text3,
-      </if>
-      <if test="rd_text4 != null">
-        rd_text4,
-      </if>
-      <if test="rd_text5 != null">
-        rd_text5,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="rd_id != null">
-        #{rd_id,jdbcType=INTEGER},
-      </if>
-      <if test="rd_rbid != null">
-        #{rd_rbid,jdbcType=INTEGER},
-      </if>
-      <if test="rd_detno != null">
-        #{rd_detno,jdbcType=INTEGER},
-      </if>
-      <if test="rd_ym != null">
-        #{rd_ym,jdbcType=INTEGER},
-      </if>
-      <if test="rd_bankid != null">
-        #{rd_bankid,jdbcType=INTEGER},
-      </if>
-      <if test="rd_bankcode != null">
-        #{rd_bankcode,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_bankname != null">
-        #{rd_bankname,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_amount != null">
-        #{rd_amount,jdbcType=DOUBLE},
-      </if>
-      <if test="rd_paymethod != null">
-        #{rd_paymethod,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_paycode != null">
-        #{rd_paycode,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_remark != null">
-        #{rd_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="companyid != null">
-        #{companyid,jdbcType=INTEGER},
-      </if>
-      <if test="updaterId != null">
-        #{updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="updatedate != null">
-        #{updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="rd_text1 != null">
-        #{rd_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_text2 != null">
-        #{rd_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_text3 != null">
-        #{rd_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_text4 != null">
-        #{rd_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_text5 != null">
-        #{rd_text5,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.usoftchina.saas.money.po.RecbalancedetExample" resultType="java.lang.Integer">
-    select count(*) from recbalancedet
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    update recbalancedet
-    <set>
-      <if test="record.rd_id != null">
-        rd_id = #{record.rd_id,jdbcType=INTEGER},
-      </if>
-      <if test="record.rd_rbid != null">
-        rd_rbid = #{record.rd_rbid,jdbcType=INTEGER},
-      </if>
-      <if test="record.rd_detno != null">
-        rd_detno = #{record.rd_detno,jdbcType=INTEGER},
-      </if>
-      <if test="record.rd_ym != null">
-        rd_ym = #{record.rd_ym,jdbcType=INTEGER},
-      </if>
-      <if test="record.rd_bankid != null">
-        rd_bankid = #{record.rd_bankid,jdbcType=INTEGER},
-      </if>
-      <if test="record.rd_bankcode != null">
-        rd_bankcode = #{record.rd_bankcode,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rd_bankname != null">
-        rd_bankname = #{record.rd_bankname,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rd_amount != null">
-        rd_amount = #{record.rd_amount,jdbcType=DOUBLE},
-      </if>
-      <if test="record.rd_paymethod != null">
-        rd_paymethod = #{record.rd_paymethod,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rd_paycode != null">
-        rd_paycode = #{record.rd_paycode,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rd_remark != null">
-        rd_remark = #{record.rd_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="record.companyid != null">
-        companyid = #{record.companyid,jdbcType=INTEGER},
-      </if>
-      <if test="record.updaterId != null">
-        updaterId = #{record.updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="record.updatedate != null">
-        updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.rd_text1 != null">
-        rd_text1 = #{record.rd_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rd_text2 != null">
-        rd_text2 = #{record.rd_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rd_text3 != null">
-        rd_text3 = #{record.rd_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rd_text4 != null">
-        rd_text4 = #{record.rd_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="record.rd_text5 != null">
-        rd_text5 = #{record.rd_text5,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    update recbalancedet
-    set rd_id = #{record.rd_id,jdbcType=INTEGER},
-      rd_rbid = #{record.rd_rbid,jdbcType=INTEGER},
-      rd_detno = #{record.rd_detno,jdbcType=INTEGER},
-      rd_ym = #{record.rd_ym,jdbcType=INTEGER},
-      rd_bankid = #{record.rd_bankid,jdbcType=INTEGER},
-      rd_bankcode = #{record.rd_bankcode,jdbcType=VARCHAR},
-      rd_bankname = #{record.rd_bankname,jdbcType=VARCHAR},
-      rd_amount = #{record.rd_amount,jdbcType=DOUBLE},
-      rd_paymethod = #{record.rd_paymethod,jdbcType=VARCHAR},
-      rd_paycode = #{record.rd_paycode,jdbcType=VARCHAR},
-      rd_remark = #{record.rd_remark,jdbcType=VARCHAR},
-      companyid = #{record.companyid,jdbcType=INTEGER},
-      updaterId = #{record.updaterId,jdbcType=INTEGER},
-      updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
-      rd_text1 = #{record.rd_text1,jdbcType=VARCHAR},
-      rd_text2 = #{record.rd_text2,jdbcType=VARCHAR},
-      rd_text3 = #{record.rd_text3,jdbcType=VARCHAR},
-      rd_text4 = #{record.rd_text4,jdbcType=VARCHAR},
-      rd_text5 = #{record.rd_text5,jdbcType=VARCHAR}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.money.po.Recbalancedet">
-    update recbalancedet
-    <set>
-      <if test="rd_rbid != null">
-        rd_rbid = #{rd_rbid,jdbcType=INTEGER},
-      </if>
-      <if test="rd_detno != null">
-        rd_detno = #{rd_detno,jdbcType=INTEGER},
-      </if>
-      <if test="rd_ym != null">
-        rd_ym = #{rd_ym,jdbcType=INTEGER},
-      </if>
-      <if test="rd_bankid != null">
-        rd_bankid = #{rd_bankid,jdbcType=INTEGER},
-      </if>
-      <if test="rd_bankcode != null">
-        rd_bankcode = #{rd_bankcode,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_bankname != null">
-        rd_bankname = #{rd_bankname,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_amount != null">
-        rd_amount = #{rd_amount,jdbcType=DOUBLE},
-      </if>
-      <if test="rd_paymethod != null">
-        rd_paymethod = #{rd_paymethod,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_paycode != null">
-        rd_paycode = #{rd_paycode,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_remark != null">
-        rd_remark = #{rd_remark,jdbcType=VARCHAR},
-      </if>
-      <if test="companyid != null">
-        companyid = #{companyid,jdbcType=INTEGER},
-      </if>
-      <if test="updaterId != null">
-        updaterId = #{updaterId,jdbcType=INTEGER},
-      </if>
-      <if test="updatedate != null">
-        updatedate = #{updatedate,jdbcType=TIMESTAMP},
-      </if>
-      <if test="rd_text1 != null">
-        rd_text1 = #{rd_text1,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_text2 != null">
-        rd_text2 = #{rd_text2,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_text3 != null">
-        rd_text3 = #{rd_text3,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_text4 != null">
-        rd_text4 = #{rd_text4,jdbcType=VARCHAR},
-      </if>
-      <if test="rd_text5 != null">
-        rd_text5 = #{rd_text5,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where rd_id = #{rd_id,jdbcType=INTEGER}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.money.po.Recbalancedet">
-    update recbalancedet
-    set rd_rbid = #{rd_rbid,jdbcType=INTEGER},
-      rd_detno = #{rd_detno,jdbcType=INTEGER},
-      rd_ym = #{rd_ym,jdbcType=INTEGER},
-      rd_bankid = #{rd_bankid,jdbcType=INTEGER},
-      rd_bankcode = #{rd_bankcode,jdbcType=VARCHAR},
-      rd_bankname = #{rd_bankname,jdbcType=VARCHAR},
-      rd_amount = #{rd_amount,jdbcType=DOUBLE},
-      rd_paymethod = #{rd_paymethod,jdbcType=VARCHAR},
-      rd_paycode = #{rd_paycode,jdbcType=VARCHAR},
-      rd_remark = #{rd_remark,jdbcType=VARCHAR},
-      companyid = #{companyid,jdbcType=INTEGER},
-      updaterId = #{updaterId,jdbcType=INTEGER},
-      updatedate = #{updatedate,jdbcType=TIMESTAMP},
-      rd_text1 = #{rd_text1,jdbcType=VARCHAR},
-      rd_text2 = #{rd_text2,jdbcType=VARCHAR},
-      rd_text3 = #{rd_text3,jdbcType=VARCHAR},
-      rd_text4 = #{rd_text4,jdbcType=VARCHAR},
-      rd_text5 = #{rd_text5,jdbcType=VARCHAR}
-    where rd_id = #{rd_id,jdbcType=INTEGER}
-  </update>
+
 </mapper>

+ 2 - 2
applications/pom.xml

@@ -15,8 +15,8 @@
     <modules>
         <module>purchase</module>
         <!--<module>sale</module>
-        <module>storage</module>
-        <module>money</module>-->
+        <module>storage</module>-->
+        <module>money</module>
         <module>document</module>
         <module>commons</module>
     </modules>

Some files were not shown because too many files changed in this diff