Ver Fonte

Merge branch 'dev' of ssh://10.10.100.21/source/saas-platform into dev

chenw há 7 anos atrás
pai
commit
ec4cb2e775
26 ficheiros alterados com 10883 adições e 33 exclusões
  1. 1 1
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/controller/BanksubledgerController.java
  2. 5 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/BanksubledgerMapper.java
  3. 30 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/PaybalanceMapper.java
  4. 34 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/RecbalanceMapper.java
  5. 30 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/RecbalancedetMapper.java
  6. 163 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Banksubledger.java
  7. 1375 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/BanksubledgerExample.java
  8. 280 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Paybalance.java
  9. 1946 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/PaybalanceExample.java
  10. 252 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Recbalance.java
  11. 1945 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/RecbalanceExample.java
  12. 202 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Recbalancedet.java
  13. 1445 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/RecbalancedetExample.java
  14. 4 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/service/BanksubledgerService.java
  15. 4 0
      applications/money/money-server/src/main/java/com/usoftchina/saas/money/service/impl/BanksubledgerServiceImpl.java
  16. 1116 0
      applications/money/money-server/src/main/resources/mapper/PaybalanceMapper.xml
  17. 1116 0
      applications/money/money-server/src/main/resources/mapper/RecbalanceMapper.xml
  18. 862 0
      applications/money/money-server/src/main/resources/mapper/RecbalancedetMapper.xml
  19. 13 0
      applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/controller/ProdInOutController.java
  20. 1 1
      applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/po/ProdIODetail.java
  21. 1 1
      applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/po/ProdInOutList.java
  22. 45 17
      applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/service/impl/ProdInOutServiceImpl.java
  23. 1 1
      applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/service/impl/PurchaseServiceImpl.java
  24. 9 9
      applications/purchase/purchase-server/src/main/resources/mapper/ProdIODetailMapper.xml
  25. 1 1
      applications/purchase/purchase-server/src/main/resources/mapper/ProdInOutListMapper.xml
  26. 2 2
      applications/purchase/purchase-server/src/main/resources/mapper/PurchaseMapper.xml

+ 1 - 1
applications/money/money-server/src/main/java/com/usoftchina/saas/money/controller/BanksubledgerController.java

@@ -4,7 +4,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 /**
  * @author hx
- * @create 2018-10-19 14:23
+ * @createtime 2018-10-19 14:23
  *
  */
 @RestController

+ 5 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/BanksubledgerMapper.java

@@ -1,7 +1,12 @@
 package com.usoftchina.saas.money.mapper;
 
 
+import com.usoftchina.saas.money.po.BanksubledgerExample;
 
+/**
+ * @author hx
+ * @createtime 2018-10-19 15:57
+ */
 public interface BanksubledgerMapper {
     int countByExample(BanksubledgerExample example);
 

+ 30 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/PaybalanceMapper.java

@@ -0,0 +1,30 @@
+package com.usoftchina.saas.money.mapper;
+
+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 {
+    int countByExample(PaybalanceExample example);
+
+    int deleteByExample(PaybalanceExample example);
+
+    int deleteByPrimaryKey(Integer pb_id);
+
+    int insert(Paybalance record);
+
+    int insertSelective(Paybalance record);
+
+    List<Paybalance> selectByExample(PaybalanceExample example);
+
+    Paybalance selectByPrimaryKey(Integer pb_id);
+
+    int updateByExampleSelective(@Param("record") Paybalance record, @Param("example") PaybalanceExample example);
+
+    int updateByExample(@Param("record") Paybalance record, @Param("example") PaybalanceExample example);
+
+    int updateByPrimaryKeySelective(Paybalance record);
+
+    int updateByPrimaryKey(Paybalance record);
+}

+ 34 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/RecbalanceMapper.java

@@ -0,0 +1,34 @@
+package com.usoftchina.saas.money.mapper;
+
+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 {
+    int countByExample(RecbalanceExample example);
+
+    int deleteByExample(RecbalanceExample example);
+
+    int deleteByPrimaryKey(Integer rb_id);
+
+    int insert(Recbalance record);
+
+    int insertSelective(Recbalance record);
+
+    List<Recbalance> selectByExample(RecbalanceExample example);
+
+    Recbalance selectByPrimaryKey(Integer rb_id);
+
+    int updateByExampleSelective(@Param("record") Recbalance record, @Param("example") RecbalanceExample example);
+
+    int updateByExample(@Param("record") Recbalance record, @Param("example") RecbalanceExample example);
+
+    int updateByPrimaryKeySelective(Recbalance record);
+
+    int updateByPrimaryKey(Recbalance record);
+}

+ 30 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/mapper/RecbalancedetMapper.java

@@ -0,0 +1,30 @@
+package com.usoftchina.saas.money.mapper;
+
+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 {
+    int countByExample(RecbalancedetExample example);
+
+    int deleteByExample(RecbalancedetExample example);
+
+    int deleteByPrimaryKey(Integer rd_id);
+
+    int insert(Recbalancedet record);
+
+    int insertSelective(Recbalancedet record);
+
+    List<Recbalancedet> selectByExample(RecbalancedetExample example);
+
+    Recbalancedet selectByPrimaryKey(Integer rd_id);
+
+    int updateByExampleSelective(@Param("record") Recbalancedet record, @Param("example") RecbalancedetExample example);
+
+    int updateByExample(@Param("record") Recbalancedet record, @Param("example") RecbalancedetExample example);
+
+    int updateByPrimaryKeySelective(Recbalancedet record);
+
+    int updateByPrimaryKey(Recbalancedet record);
+}

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

@@ -0,0 +1,163 @@
+package com.usoftchina.saas.money.po;
+
+import com.usoftchina.saas.base.entity.CommonBaseEntity;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author hx
+ * @createtime 2018-10-19 15:58
+ */
+public class Banksubledger extends CommonBaseEntity implements Serializable {
+    private Integer bl_id;  //ID
+
+    private Integer bl_ym;  //期间
+
+    private Integer bl_bankid;  //账户ID
+
+    private String bl_bankcode; //账户编号
+
+    private String bl_bankname;  //账户名称
+
+    private String bl_code;     //单据编号
+ 
+    private String bl_kind;     //单据类型
+
+    private Date bl_date;      //单据日期
+
+    private String bl_asstype;   //往来类型
+
+    private String bl_asscode;    //往来单位编号
+
+    private String bl_assname;    //往来单位名称
+
+    private Double bl_income;    //收入
+
+    private Double bl_spending;   //支出
+
+    private String bl_manname;    //收/付款人
+ 
+    private String bl_remark;    //备注
+
+    public Integer getBl_id() {
+        return bl_id;
+    }
+
+    public void setBl_id(Integer bl_id) {
+        this.bl_id = bl_id;
+    }
+
+    public Integer getBl_ym() {
+        return bl_ym;
+    }
+
+    public void setBl_ym(Integer bl_ym) {
+        this.bl_ym = bl_ym;
+    }
+
+    public Integer getBl_bankid() {
+        return bl_bankid;
+    }
+
+    public void setBl_bankid(Integer bl_bankid) {
+        this.bl_bankid = bl_bankid;
+    }
+
+    public String getBl_bankcode() {
+        return bl_bankcode;
+    }
+
+    public void setBl_bankcode(String bl_bankcode) {
+        this.bl_bankcode = bl_bankcode == null ? null : bl_bankcode.trim();
+    }
+
+    public String getBl_bankname() {
+        return bl_bankname;
+    }
+
+    public void setBl_bankname(String bl_bankname) {
+        this.bl_bankname = bl_bankname == null ? null : bl_bankname.trim();
+    }
+
+    public String getBl_code() {
+        return bl_code;
+    }
+
+    public void setBl_code(String bl_code) {
+        this.bl_code = bl_code == null ? null : bl_code.trim();
+    }
+
+    public String getBl_kind() {
+        return bl_kind;
+    }
+
+    public void setBl_kind(String bl_kind) {
+        this.bl_kind = bl_kind == null ? null : bl_kind.trim();
+    }
+
+    public Date getBl_date() {
+        return bl_date;
+    }
+
+    public void setBl_date(Date bl_date) {
+        this.bl_date = bl_date;
+    }
+
+    public String getBl_asstype() {
+        return bl_asstype;
+    }
+
+    public void setBl_asstype(String bl_asstype) {
+        this.bl_asstype = bl_asstype == null ? null : bl_asstype.trim();
+    }
+
+    public String getBl_asscode() {
+        return bl_asscode;
+    }
+
+    public void setBl_asscode(String bl_asscode) {
+        this.bl_asscode = bl_asscode == null ? null : bl_asscode.trim();
+    }
+
+    public String getBl_assname() {
+        return bl_assname;
+    }
+
+    public void setBl_assname(String bl_assname) {
+        this.bl_assname = bl_assname == null ? null : bl_assname.trim();
+    }
+
+    public Double getBl_income() {
+        return bl_income;
+    }
+
+    public void setBl_income(Double bl_income) {
+        this.bl_income = bl_income;
+    }
+
+    public Double getBl_spending() {
+        return bl_spending;
+    }
+
+    public void setBl_spending(Double bl_spending) {
+        this.bl_spending = bl_spending;
+    }
+
+    public String getBl_manname() {
+        return bl_manname;
+    }
+
+    public void setBl_manname(String bl_manname) {
+        this.bl_manname = bl_manname == null ? null : bl_manname.trim();
+    }
+
+    public String getBl_remark() {
+        return bl_remark;
+    }
+
+    public void setBl_remark(String bl_remark) {
+        this.bl_remark = bl_remark == null ? null : bl_remark.trim();
+    }
+
+}

+ 1375 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/BanksubledgerExample.java

@@ -0,0 +1,1375 @@
+package com.usoftchina.saas.money.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @author hx
+ * @createtime 2018-10-19 16:03
+ */
+public class BanksubledgerExample {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public BanksubledgerExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andBl_idIsNull() {
+            addCriterion("bl_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idIsNotNull() {
+            addCriterion("bl_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idEqualTo(Integer value) {
+            addCriterion("bl_id =", value, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idNotEqualTo(Integer value) {
+            addCriterion("bl_id <>", value, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idGreaterThan(Integer value) {
+            addCriterion("bl_id >", value, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idGreaterThanOrEqualTo(Integer value) {
+            addCriterion("bl_id >=", value, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idLessThan(Integer value) {
+            addCriterion("bl_id <", value, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idLessThanOrEqualTo(Integer value) {
+            addCriterion("bl_id <=", value, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idIn(List<Integer> values) {
+            addCriterion("bl_id in", values, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idNotIn(List<Integer> values) {
+            addCriterion("bl_id not in", values, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idBetween(Integer value1, Integer value2) {
+            addCriterion("bl_id between", value1, value2, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_idNotBetween(Integer value1, Integer value2) {
+            addCriterion("bl_id not between", value1, value2, "bl_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymIsNull() {
+            addCriterion("bl_ym is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymIsNotNull() {
+            addCriterion("bl_ym is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymEqualTo(Integer value) {
+            addCriterion("bl_ym =", value, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymNotEqualTo(Integer value) {
+            addCriterion("bl_ym <>", value, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymGreaterThan(Integer value) {
+            addCriterion("bl_ym >", value, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymGreaterThanOrEqualTo(Integer value) {
+            addCriterion("bl_ym >=", value, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymLessThan(Integer value) {
+            addCriterion("bl_ym <", value, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymLessThanOrEqualTo(Integer value) {
+            addCriterion("bl_ym <=", value, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymIn(List<Integer> values) {
+            addCriterion("bl_ym in", values, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymNotIn(List<Integer> values) {
+            addCriterion("bl_ym not in", values, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymBetween(Integer value1, Integer value2) {
+            addCriterion("bl_ym between", value1, value2, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_ymNotBetween(Integer value1, Integer value2) {
+            addCriterion("bl_ym not between", value1, value2, "bl_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidIsNull() {
+            addCriterion("bl_bankid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidIsNotNull() {
+            addCriterion("bl_bankid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidEqualTo(Integer value) {
+            addCriterion("bl_bankid =", value, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidNotEqualTo(Integer value) {
+            addCriterion("bl_bankid <>", value, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidGreaterThan(Integer value) {
+            addCriterion("bl_bankid >", value, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("bl_bankid >=", value, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidLessThan(Integer value) {
+            addCriterion("bl_bankid <", value, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidLessThanOrEqualTo(Integer value) {
+            addCriterion("bl_bankid <=", value, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidIn(List<Integer> values) {
+            addCriterion("bl_bankid in", values, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidNotIn(List<Integer> values) {
+            addCriterion("bl_bankid not in", values, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidBetween(Integer value1, Integer value2) {
+            addCriterion("bl_bankid between", value1, value2, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankidNotBetween(Integer value1, Integer value2) {
+            addCriterion("bl_bankid not between", value1, value2, "bl_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeIsNull() {
+            addCriterion("bl_bankcode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeIsNotNull() {
+            addCriterion("bl_bankcode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeEqualTo(String value) {
+            addCriterion("bl_bankcode =", value, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeNotEqualTo(String value) {
+            addCriterion("bl_bankcode <>", value, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeGreaterThan(String value) {
+            addCriterion("bl_bankcode >", value, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_bankcode >=", value, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeLessThan(String value) {
+            addCriterion("bl_bankcode <", value, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeLessThanOrEqualTo(String value) {
+            addCriterion("bl_bankcode <=", value, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeLike(String value) {
+            addCriterion("bl_bankcode like", value, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeNotLike(String value) {
+            addCriterion("bl_bankcode not like", value, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeIn(List<String> values) {
+            addCriterion("bl_bankcode in", values, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeNotIn(List<String> values) {
+            addCriterion("bl_bankcode not in", values, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeBetween(String value1, String value2) {
+            addCriterion("bl_bankcode between", value1, value2, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_bankcodeNotBetween(String value1, String value2) {
+            addCriterion("bl_bankcode not between", value1, value2, "bl_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameIsNull() {
+            addCriterion("bl_bankname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameIsNotNull() {
+            addCriterion("bl_bankname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameEqualTo(String value) {
+            addCriterion("bl_bankname =", value, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameNotEqualTo(String value) {
+            addCriterion("bl_bankname <>", value, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameGreaterThan(String value) {
+            addCriterion("bl_bankname >", value, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_bankname >=", value, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameLessThan(String value) {
+            addCriterion("bl_bankname <", value, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameLessThanOrEqualTo(String value) {
+            addCriterion("bl_bankname <=", value, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameLike(String value) {
+            addCriterion("bl_bankname like", value, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameNotLike(String value) {
+            addCriterion("bl_bankname not like", value, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameIn(List<String> values) {
+            addCriterion("bl_bankname in", values, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameNotIn(List<String> values) {
+            addCriterion("bl_bankname not in", values, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameBetween(String value1, String value2) {
+            addCriterion("bl_bankname between", value1, value2, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_banknameNotBetween(String value1, String value2) {
+            addCriterion("bl_bankname not between", value1, value2, "bl_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeIsNull() {
+            addCriterion("bl_code is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeIsNotNull() {
+            addCriterion("bl_code is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeEqualTo(String value) {
+            addCriterion("bl_code =", value, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeNotEqualTo(String value) {
+            addCriterion("bl_code <>", value, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeGreaterThan(String value) {
+            addCriterion("bl_code >", value, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_code >=", value, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeLessThan(String value) {
+            addCriterion("bl_code <", value, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeLessThanOrEqualTo(String value) {
+            addCriterion("bl_code <=", value, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeLike(String value) {
+            addCriterion("bl_code like", value, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeNotLike(String value) {
+            addCriterion("bl_code not like", value, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeIn(List<String> values) {
+            addCriterion("bl_code in", values, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeNotIn(List<String> values) {
+            addCriterion("bl_code not in", values, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeBetween(String value1, String value2) {
+            addCriterion("bl_code between", value1, value2, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_codeNotBetween(String value1, String value2) {
+            addCriterion("bl_code not between", value1, value2, "bl_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindIsNull() {
+            addCriterion("bl_kind is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindIsNotNull() {
+            addCriterion("bl_kind is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindEqualTo(String value) {
+            addCriterion("bl_kind =", value, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindNotEqualTo(String value) {
+            addCriterion("bl_kind <>", value, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindGreaterThan(String value) {
+            addCriterion("bl_kind >", value, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_kind >=", value, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindLessThan(String value) {
+            addCriterion("bl_kind <", value, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindLessThanOrEqualTo(String value) {
+            addCriterion("bl_kind <=", value, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindLike(String value) {
+            addCriterion("bl_kind like", value, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindNotLike(String value) {
+            addCriterion("bl_kind not like", value, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindIn(List<String> values) {
+            addCriterion("bl_kind in", values, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindNotIn(List<String> values) {
+            addCriterion("bl_kind not in", values, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindBetween(String value1, String value2) {
+            addCriterion("bl_kind between", value1, value2, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_kindNotBetween(String value1, String value2) {
+            addCriterion("bl_kind not between", value1, value2, "bl_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateIsNull() {
+            addCriterion("bl_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateIsNotNull() {
+            addCriterion("bl_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateEqualTo(Date value) {
+            addCriterion("bl_date =", value, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateNotEqualTo(Date value) {
+            addCriterion("bl_date <>", value, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateGreaterThan(Date value) {
+            addCriterion("bl_date >", value, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateGreaterThanOrEqualTo(Date value) {
+            addCriterion("bl_date >=", value, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateLessThan(Date value) {
+            addCriterion("bl_date <", value, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateLessThanOrEqualTo(Date value) {
+            addCriterion("bl_date <=", value, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateIn(List<Date> values) {
+            addCriterion("bl_date in", values, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateNotIn(List<Date> values) {
+            addCriterion("bl_date not in", values, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateBetween(Date value1, Date value2) {
+            addCriterion("bl_date between", value1, value2, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_dateNotBetween(Date value1, Date value2) {
+            addCriterion("bl_date not between", value1, value2, "bl_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeIsNull() {
+            addCriterion("bl_asstype is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeIsNotNull() {
+            addCriterion("bl_asstype is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeEqualTo(String value) {
+            addCriterion("bl_asstype =", value, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeNotEqualTo(String value) {
+            addCriterion("bl_asstype <>", value, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeGreaterThan(String value) {
+            addCriterion("bl_asstype >", value, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_asstype >=", value, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeLessThan(String value) {
+            addCriterion("bl_asstype <", value, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeLessThanOrEqualTo(String value) {
+            addCriterion("bl_asstype <=", value, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeLike(String value) {
+            addCriterion("bl_asstype like", value, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeNotLike(String value) {
+            addCriterion("bl_asstype not like", value, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeIn(List<String> values) {
+            addCriterion("bl_asstype in", values, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeNotIn(List<String> values) {
+            addCriterion("bl_asstype not in", values, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeBetween(String value1, String value2) {
+            addCriterion("bl_asstype between", value1, value2, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asstypeNotBetween(String value1, String value2) {
+            addCriterion("bl_asstype not between", value1, value2, "bl_asstype");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeIsNull() {
+            addCriterion("bl_asscode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeIsNotNull() {
+            addCriterion("bl_asscode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeEqualTo(String value) {
+            addCriterion("bl_asscode =", value, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeNotEqualTo(String value) {
+            addCriterion("bl_asscode <>", value, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeGreaterThan(String value) {
+            addCriterion("bl_asscode >", value, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_asscode >=", value, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeLessThan(String value) {
+            addCriterion("bl_asscode <", value, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeLessThanOrEqualTo(String value) {
+            addCriterion("bl_asscode <=", value, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeLike(String value) {
+            addCriterion("bl_asscode like", value, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeNotLike(String value) {
+            addCriterion("bl_asscode not like", value, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeIn(List<String> values) {
+            addCriterion("bl_asscode in", values, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeNotIn(List<String> values) {
+            addCriterion("bl_asscode not in", values, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeBetween(String value1, String value2) {
+            addCriterion("bl_asscode between", value1, value2, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_asscodeNotBetween(String value1, String value2) {
+            addCriterion("bl_asscode not between", value1, value2, "bl_asscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameIsNull() {
+            addCriterion("bl_assname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameIsNotNull() {
+            addCriterion("bl_assname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameEqualTo(String value) {
+            addCriterion("bl_assname =", value, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameNotEqualTo(String value) {
+            addCriterion("bl_assname <>", value, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameGreaterThan(String value) {
+            addCriterion("bl_assname >", value, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_assname >=", value, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameLessThan(String value) {
+            addCriterion("bl_assname <", value, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameLessThanOrEqualTo(String value) {
+            addCriterion("bl_assname <=", value, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameLike(String value) {
+            addCriterion("bl_assname like", value, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameNotLike(String value) {
+            addCriterion("bl_assname not like", value, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameIn(List<String> values) {
+            addCriterion("bl_assname in", values, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameNotIn(List<String> values) {
+            addCriterion("bl_assname not in", values, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameBetween(String value1, String value2) {
+            addCriterion("bl_assname between", value1, value2, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_assnameNotBetween(String value1, String value2) {
+            addCriterion("bl_assname not between", value1, value2, "bl_assname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeIsNull() {
+            addCriterion("bl_income is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeIsNotNull() {
+            addCriterion("bl_income is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeEqualTo(Double value) {
+            addCriterion("bl_income =", value, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeNotEqualTo(Double value) {
+            addCriterion("bl_income <>", value, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeGreaterThan(Double value) {
+            addCriterion("bl_income >", value, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeGreaterThanOrEqualTo(Double value) {
+            addCriterion("bl_income >=", value, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeLessThan(Double value) {
+            addCriterion("bl_income <", value, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeLessThanOrEqualTo(Double value) {
+            addCriterion("bl_income <=", value, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeIn(List<Double> values) {
+            addCriterion("bl_income in", values, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeNotIn(List<Double> values) {
+            addCriterion("bl_income not in", values, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeBetween(Double value1, Double value2) {
+            addCriterion("bl_income between", value1, value2, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_incomeNotBetween(Double value1, Double value2) {
+            addCriterion("bl_income not between", value1, value2, "bl_income");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingIsNull() {
+            addCriterion("bl_spending is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingIsNotNull() {
+            addCriterion("bl_spending is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingEqualTo(Double value) {
+            addCriterion("bl_spending =", value, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingNotEqualTo(Double value) {
+            addCriterion("bl_spending <>", value, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingGreaterThan(Double value) {
+            addCriterion("bl_spending >", value, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingGreaterThanOrEqualTo(Double value) {
+            addCriterion("bl_spending >=", value, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingLessThan(Double value) {
+            addCriterion("bl_spending <", value, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingLessThanOrEqualTo(Double value) {
+            addCriterion("bl_spending <=", value, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingIn(List<Double> values) {
+            addCriterion("bl_spending in", values, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingNotIn(List<Double> values) {
+            addCriterion("bl_spending not in", values, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingBetween(Double value1, Double value2) {
+            addCriterion("bl_spending between", value1, value2, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_spendingNotBetween(Double value1, Double value2) {
+            addCriterion("bl_spending not between", value1, value2, "bl_spending");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameIsNull() {
+            addCriterion("bl_manname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameIsNotNull() {
+            addCriterion("bl_manname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameEqualTo(String value) {
+            addCriterion("bl_manname =", value, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameNotEqualTo(String value) {
+            addCriterion("bl_manname <>", value, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameGreaterThan(String value) {
+            addCriterion("bl_manname >", value, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_manname >=", value, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameLessThan(String value) {
+            addCriterion("bl_manname <", value, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameLessThanOrEqualTo(String value) {
+            addCriterion("bl_manname <=", value, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameLike(String value) {
+            addCriterion("bl_manname like", value, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameNotLike(String value) {
+            addCriterion("bl_manname not like", value, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameIn(List<String> values) {
+            addCriterion("bl_manname in", values, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameNotIn(List<String> values) {
+            addCriterion("bl_manname not in", values, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameBetween(String value1, String value2) {
+            addCriterion("bl_manname between", value1, value2, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_mannameNotBetween(String value1, String value2) {
+            addCriterion("bl_manname not between", value1, value2, "bl_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkIsNull() {
+            addCriterion("bl_remark is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkIsNotNull() {
+            addCriterion("bl_remark is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkEqualTo(String value) {
+            addCriterion("bl_remark =", value, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkNotEqualTo(String value) {
+            addCriterion("bl_remark <>", value, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkGreaterThan(String value) {
+            addCriterion("bl_remark >", value, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkGreaterThanOrEqualTo(String value) {
+            addCriterion("bl_remark >=", value, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkLessThan(String value) {
+            addCriterion("bl_remark <", value, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkLessThanOrEqualTo(String value) {
+            addCriterion("bl_remark <=", value, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkLike(String value) {
+            addCriterion("bl_remark like", value, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkNotLike(String value) {
+            addCriterion("bl_remark not like", value, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkIn(List<String> values) {
+            addCriterion("bl_remark in", values, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkNotIn(List<String> values) {
+            addCriterion("bl_remark not in", values, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkBetween(String value1, String value2) {
+            addCriterion("bl_remark between", value1, value2, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andBl_remarkNotBetween(String value1, String value2) {
+            addCriterion("bl_remark not between", value1, value2, "bl_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIsNull() {
+            addCriterion("companyid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIsNotNull() {
+            addCriterion("companyid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidEqualTo(Integer value) {
+            addCriterion("companyid =", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotEqualTo(Integer value) {
+            addCriterion("companyid <>", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidGreaterThan(Integer value) {
+            addCriterion("companyid >", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("companyid >=", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidLessThan(Integer value) {
+            addCriterion("companyid <", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidLessThanOrEqualTo(Integer value) {
+            addCriterion("companyid <=", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIn(List<Integer> values) {
+            addCriterion("companyid in", values, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotIn(List<Integer> values) {
+            addCriterion("companyid not in", values, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidBetween(Integer value1, Integer value2) {
+            addCriterion("companyid between", value1, value2, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotBetween(Integer value1, Integer value2) {
+            addCriterion("companyid not between", value1, value2, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIsNull() {
+            addCriterion("updaterId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIsNotNull() {
+            addCriterion("updaterId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdEqualTo(Integer value) {
+            addCriterion("updaterId =", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotEqualTo(Integer value) {
+            addCriterion("updaterId <>", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdGreaterThan(Integer value) {
+            addCriterion("updaterId >", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("updaterId >=", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdLessThan(Integer value) {
+            addCriterion("updaterId <", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdLessThanOrEqualTo(Integer value) {
+            addCriterion("updaterId <=", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIn(List<Integer> values) {
+            addCriterion("updaterId in", values, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotIn(List<Integer> values) {
+            addCriterion("updaterId not in", values, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdBetween(Integer value1, Integer value2) {
+            addCriterion("updaterId between", value1, value2, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("updaterId not between", value1, value2, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIsNull() {
+            addCriterion("updatedate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIsNotNull() {
+            addCriterion("updatedate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateEqualTo(Date value) {
+            addCriterion("updatedate =", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotEqualTo(Date value) {
+            addCriterion("updatedate <>", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateGreaterThan(Date value) {
+            addCriterion("updatedate >", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateGreaterThanOrEqualTo(Date value) {
+            addCriterion("updatedate >=", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateLessThan(Date value) {
+            addCriterion("updatedate <", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateLessThanOrEqualTo(Date value) {
+            addCriterion("updatedate <=", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIn(List<Date> values) {
+            addCriterion("updatedate in", values, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotIn(List<Date> values) {
+            addCriterion("updatedate not in", values, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateBetween(Date value1, Date value2) {
+            addCriterion("updatedate between", value1, value2, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotBetween(Date value1, Date value2) {
+            addCriterion("updatedate not between", value1, value2, "updatedate");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 280 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Paybalance.java

@@ -0,0 +1,280 @@
+package com.usoftchina.saas.money.po;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * @author hx
+ * @createtime 2018-10-19 16:03
+ */
+public class Paybalance {
+    private Integer pb_id;
+
+    private String pb_code;
+
+    private String pb_kind;
+
+    private Date pb_date;
+
+    private Integer pb_vendid;
+
+    private String pb_vendcode;
+
+    private String pb_vendname;
+
+    private String pb_manname;
+
+    private Double pb_pdamount;
+
+    private Double pb_pbdamount;
+
+    private Double pb_preamount;
+
+    private Double pb_discounts;
+
+    private Double pb_havebalance;
+
+    private Integer pb_recorderid;
+
+    private String pb_recorder;
+
+    private Date pb_recorddate;
+
+    private Integer pb_status;
+
+    private BigDecimal pb_statuscode;
+
+    private String pb_remark;
+
+    private Integer companyid;
+
+    private Integer updaterId;
+
+    private Date updatedate;
+
+    private String pb_text1;
+
+    private String pb_text2;
+
+    private String pb_text3;
+
+    private String pb_text4;
+
+    private String pb_text5;
+
+    public Integer getPb_id() {
+        return pb_id;
+    }
+
+    public void setPb_id(Integer pb_id) {
+        this.pb_id = pb_id;
+    }
+
+    public String getPb_code() {
+        return pb_code;
+    }
+
+    public void setPb_code(String pb_code) {
+        this.pb_code = pb_code == null ? null : pb_code.trim();
+    }
+
+    public String getPb_kind() {
+        return pb_kind;
+    }
+
+    public void setPb_kind(String pb_kind) {
+        this.pb_kind = pb_kind == null ? null : pb_kind.trim();
+    }
+
+    public Date getPb_date() {
+        return pb_date;
+    }
+
+    public void setPb_date(Date pb_date) {
+        this.pb_date = pb_date;
+    }
+
+    public Integer getPb_vendid() {
+        return pb_vendid;
+    }
+
+    public void setPb_vendid(Integer pb_vendid) {
+        this.pb_vendid = pb_vendid;
+    }
+
+    public String getPb_vendcode() {
+        return pb_vendcode;
+    }
+
+    public void setPb_vendcode(String pb_vendcode) {
+        this.pb_vendcode = pb_vendcode == null ? null : pb_vendcode.trim();
+    }
+
+    public String getPb_vendname() {
+        return pb_vendname;
+    }
+
+    public void setPb_vendname(String pb_vendname) {
+        this.pb_vendname = pb_vendname == null ? null : pb_vendname.trim();
+    }
+
+    public String getPb_manname() {
+        return pb_manname;
+    }
+
+    public void setPb_manname(String pb_manname) {
+        this.pb_manname = pb_manname == null ? null : pb_manname.trim();
+    }
+
+    public Double getPb_pdamount() {
+        return pb_pdamount;
+    }
+
+    public void setPb_pdamount(Double pb_pdamount) {
+        this.pb_pdamount = pb_pdamount;
+    }
+
+    public Double getPb_pbdamount() {
+        return pb_pbdamount;
+    }
+
+    public void setPb_pbdamount(Double pb_pbdamount) {
+        this.pb_pbdamount = pb_pbdamount;
+    }
+
+    public Double getPb_preamount() {
+        return pb_preamount;
+    }
+
+    public void setPb_preamount(Double pb_preamount) {
+        this.pb_preamount = pb_preamount;
+    }
+
+    public Double getPb_discounts() {
+        return pb_discounts;
+    }
+
+    public void setPb_discounts(Double pb_discounts) {
+        this.pb_discounts = pb_discounts;
+    }
+
+    public Double getPb_havebalance() {
+        return pb_havebalance;
+    }
+
+    public void setPb_havebalance(Double pb_havebalance) {
+        this.pb_havebalance = pb_havebalance;
+    }
+
+    public Integer getPb_recorderid() {
+        return pb_recorderid;
+    }
+
+    public void setPb_recorderid(Integer pb_recorderid) {
+        this.pb_recorderid = pb_recorderid;
+    }
+
+    public String getPb_recorder() {
+        return pb_recorder;
+    }
+
+    public void setPb_recorder(String pb_recorder) {
+        this.pb_recorder = pb_recorder == null ? null : pb_recorder.trim();
+    }
+
+    public Date getPb_recorddate() {
+        return pb_recorddate;
+    }
+
+    public void setPb_recorddate(Date pb_recorddate) {
+        this.pb_recorddate = pb_recorddate;
+    }
+
+    public Integer getPb_status() {
+        return pb_status;
+    }
+
+    public void setPb_status(Integer pb_status) {
+        this.pb_status = pb_status;
+    }
+
+    public BigDecimal getPb_statuscode() {
+        return pb_statuscode;
+    }
+
+    public void setPb_statuscode(BigDecimal pb_statuscode) {
+        this.pb_statuscode = pb_statuscode;
+    }
+
+    public String getPb_remark() {
+        return pb_remark;
+    }
+
+    public void setPb_remark(String pb_remark) {
+        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;
+    }
+
+    public void setPb_text1(String pb_text1) {
+        this.pb_text1 = pb_text1 == null ? null : pb_text1.trim();
+    }
+
+    public String getPb_text2() {
+        return pb_text2;
+    }
+
+    public void setPb_text2(String pb_text2) {
+        this.pb_text2 = pb_text2 == null ? null : pb_text2.trim();
+    }
+
+    public String getPb_text3() {
+        return pb_text3;
+    }
+
+    public void setPb_text3(String pb_text3) {
+        this.pb_text3 = pb_text3 == null ? null : pb_text3.trim();
+    }
+
+    public String getPb_text4() {
+        return pb_text4;
+    }
+
+    public void setPb_text4(String pb_text4) {
+        this.pb_text4 = pb_text4 == null ? null : pb_text4.trim();
+    }
+
+    public String getPb_text5() {
+        return pb_text5;
+    }
+
+    public void setPb_text5(String pb_text5) {
+        this.pb_text5 = pb_text5 == null ? null : pb_text5.trim();
+    }
+}

+ 1946 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/PaybalanceExample.java

@@ -0,0 +1,1946 @@
+package com.usoftchina.saas.money.po;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @author hx
+ * @createtime 2018-10-19 16:03
+ */
+public class PaybalanceExample {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public PaybalanceExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andPb_idIsNull() {
+            addCriterion("pb_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idIsNotNull() {
+            addCriterion("pb_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idEqualTo(Integer value) {
+            addCriterion("pb_id =", value, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idNotEqualTo(Integer value) {
+            addCriterion("pb_id <>", value, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idGreaterThan(Integer value) {
+            addCriterion("pb_id >", value, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idGreaterThanOrEqualTo(Integer value) {
+            addCriterion("pb_id >=", value, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idLessThan(Integer value) {
+            addCriterion("pb_id <", value, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idLessThanOrEqualTo(Integer value) {
+            addCriterion("pb_id <=", value, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idIn(List<Integer> values) {
+            addCriterion("pb_id in", values, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idNotIn(List<Integer> values) {
+            addCriterion("pb_id not in", values, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idBetween(Integer value1, Integer value2) {
+            addCriterion("pb_id between", value1, value2, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_idNotBetween(Integer value1, Integer value2) {
+            addCriterion("pb_id not between", value1, value2, "pb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeIsNull() {
+            addCriterion("pb_code is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeIsNotNull() {
+            addCriterion("pb_code is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeEqualTo(String value) {
+            addCriterion("pb_code =", value, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeNotEqualTo(String value) {
+            addCriterion("pb_code <>", value, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeGreaterThan(String value) {
+            addCriterion("pb_code >", value, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeGreaterThanOrEqualTo(String value) {
+            addCriterion("pb_code >=", value, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeLessThan(String value) {
+            addCriterion("pb_code <", value, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeLessThanOrEqualTo(String value) {
+            addCriterion("pb_code <=", value, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeLike(String value) {
+            addCriterion("pb_code like", value, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeNotLike(String value) {
+            addCriterion("pb_code not like", value, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeIn(List<String> values) {
+            addCriterion("pb_code in", values, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeNotIn(List<String> values) {
+            addCriterion("pb_code not in", values, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeBetween(String value1, String value2) {
+            addCriterion("pb_code between", value1, value2, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_codeNotBetween(String value1, String value2) {
+            addCriterion("pb_code not between", value1, value2, "pb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindIsNull() {
+            addCriterion("pb_kind is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindIsNotNull() {
+            addCriterion("pb_kind is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindEqualTo(String value) {
+            addCriterion("pb_kind =", value, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindNotEqualTo(String value) {
+            addCriterion("pb_kind <>", value, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindGreaterThan(String value) {
+            addCriterion("pb_kind >", value, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindGreaterThanOrEqualTo(String value) {
+            addCriterion("pb_kind >=", value, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindLessThan(String value) {
+            addCriterion("pb_kind <", value, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindLessThanOrEqualTo(String value) {
+            addCriterion("pb_kind <=", value, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindLike(String value) {
+            addCriterion("pb_kind like", value, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindNotLike(String value) {
+            addCriterion("pb_kind not like", value, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindIn(List<String> values) {
+            addCriterion("pb_kind in", values, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindNotIn(List<String> values) {
+            addCriterion("pb_kind not in", values, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindBetween(String value1, String value2) {
+            addCriterion("pb_kind between", value1, value2, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_kindNotBetween(String value1, String value2) {
+            addCriterion("pb_kind not between", value1, value2, "pb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateIsNull() {
+            addCriterion("pb_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateIsNotNull() {
+            addCriterion("pb_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateEqualTo(Date value) {
+            addCriterion("pb_date =", value, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateNotEqualTo(Date value) {
+            addCriterion("pb_date <>", value, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateGreaterThan(Date value) {
+            addCriterion("pb_date >", value, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateGreaterThanOrEqualTo(Date value) {
+            addCriterion("pb_date >=", value, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateLessThan(Date value) {
+            addCriterion("pb_date <", value, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateLessThanOrEqualTo(Date value) {
+            addCriterion("pb_date <=", value, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateIn(List<Date> values) {
+            addCriterion("pb_date in", values, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateNotIn(List<Date> values) {
+            addCriterion("pb_date not in", values, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateBetween(Date value1, Date value2) {
+            addCriterion("pb_date between", value1, value2, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_dateNotBetween(Date value1, Date value2) {
+            addCriterion("pb_date not between", value1, value2, "pb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidIsNull() {
+            addCriterion("pb_vendid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidIsNotNull() {
+            addCriterion("pb_vendid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidEqualTo(Integer value) {
+            addCriterion("pb_vendid =", value, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidNotEqualTo(Integer value) {
+            addCriterion("pb_vendid <>", value, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidGreaterThan(Integer value) {
+            addCriterion("pb_vendid >", value, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("pb_vendid >=", value, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidLessThan(Integer value) {
+            addCriterion("pb_vendid <", value, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidLessThanOrEqualTo(Integer value) {
+            addCriterion("pb_vendid <=", value, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidIn(List<Integer> values) {
+            addCriterion("pb_vendid in", values, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidNotIn(List<Integer> values) {
+            addCriterion("pb_vendid not in", values, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidBetween(Integer value1, Integer value2) {
+            addCriterion("pb_vendid between", value1, value2, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendidNotBetween(Integer value1, Integer value2) {
+            addCriterion("pb_vendid not between", value1, value2, "pb_vendid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeIsNull() {
+            addCriterion("pb_vendcode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeIsNotNull() {
+            addCriterion("pb_vendcode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeEqualTo(String value) {
+            addCriterion("pb_vendcode =", value, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeNotEqualTo(String value) {
+            addCriterion("pb_vendcode <>", value, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeGreaterThan(String value) {
+            addCriterion("pb_vendcode >", value, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeGreaterThanOrEqualTo(String value) {
+            addCriterion("pb_vendcode >=", value, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeLessThan(String value) {
+            addCriterion("pb_vendcode <", value, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeLessThanOrEqualTo(String value) {
+            addCriterion("pb_vendcode <=", value, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeLike(String value) {
+            addCriterion("pb_vendcode like", value, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeNotLike(String value) {
+            addCriterion("pb_vendcode not like", value, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeIn(List<String> values) {
+            addCriterion("pb_vendcode in", values, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeNotIn(List<String> values) {
+            addCriterion("pb_vendcode not in", values, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeBetween(String value1, String value2) {
+            addCriterion("pb_vendcode between", value1, value2, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendcodeNotBetween(String value1, String value2) {
+            addCriterion("pb_vendcode not between", value1, value2, "pb_vendcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameIsNull() {
+            addCriterion("pb_vendname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameIsNotNull() {
+            addCriterion("pb_vendname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameEqualTo(String value) {
+            addCriterion("pb_vendname =", value, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameNotEqualTo(String value) {
+            addCriterion("pb_vendname <>", value, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameGreaterThan(String value) {
+            addCriterion("pb_vendname >", value, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameGreaterThanOrEqualTo(String value) {
+            addCriterion("pb_vendname >=", value, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameLessThan(String value) {
+            addCriterion("pb_vendname <", value, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameLessThanOrEqualTo(String value) {
+            addCriterion("pb_vendname <=", value, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameLike(String value) {
+            addCriterion("pb_vendname like", value, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameNotLike(String value) {
+            addCriterion("pb_vendname not like", value, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameIn(List<String> values) {
+            addCriterion("pb_vendname in", values, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameNotIn(List<String> values) {
+            addCriterion("pb_vendname not in", values, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameBetween(String value1, String value2) {
+            addCriterion("pb_vendname between", value1, value2, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_vendnameNotBetween(String value1, String value2) {
+            addCriterion("pb_vendname not between", value1, value2, "pb_vendname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameIsNull() {
+            addCriterion("pb_manname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameIsNotNull() {
+            addCriterion("pb_manname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameEqualTo(String value) {
+            addCriterion("pb_manname =", value, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameNotEqualTo(String value) {
+            addCriterion("pb_manname <>", value, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameGreaterThan(String value) {
+            addCriterion("pb_manname >", value, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameGreaterThanOrEqualTo(String value) {
+            addCriterion("pb_manname >=", value, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameLessThan(String value) {
+            addCriterion("pb_manname <", value, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameLessThanOrEqualTo(String value) {
+            addCriterion("pb_manname <=", value, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameLike(String value) {
+            addCriterion("pb_manname like", value, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameNotLike(String value) {
+            addCriterion("pb_manname not like", value, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameIn(List<String> values) {
+            addCriterion("pb_manname in", values, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameNotIn(List<String> values) {
+            addCriterion("pb_manname not in", values, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameBetween(String value1, String value2) {
+            addCriterion("pb_manname between", value1, value2, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_mannameNotBetween(String value1, String value2) {
+            addCriterion("pb_manname not between", value1, value2, "pb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountIsNull() {
+            addCriterion("pb_pdamount is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountIsNotNull() {
+            addCriterion("pb_pdamount is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountEqualTo(Double value) {
+            addCriterion("pb_pdamount =", value, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountNotEqualTo(Double value) {
+            addCriterion("pb_pdamount <>", value, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountGreaterThan(Double value) {
+            addCriterion("pb_pdamount >", value, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountGreaterThanOrEqualTo(Double value) {
+            addCriterion("pb_pdamount >=", value, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountLessThan(Double value) {
+            addCriterion("pb_pdamount <", value, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountLessThanOrEqualTo(Double value) {
+            addCriterion("pb_pdamount <=", value, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountIn(List<Double> values) {
+            addCriterion("pb_pdamount in", values, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountNotIn(List<Double> values) {
+            addCriterion("pb_pdamount not in", values, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountBetween(Double value1, Double value2) {
+            addCriterion("pb_pdamount between", value1, value2, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pdamountNotBetween(Double value1, Double value2) {
+            addCriterion("pb_pdamount not between", value1, value2, "pb_pdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountIsNull() {
+            addCriterion("pb_pbdamount is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountIsNotNull() {
+            addCriterion("pb_pbdamount is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountEqualTo(Double value) {
+            addCriterion("pb_pbdamount =", value, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountNotEqualTo(Double value) {
+            addCriterion("pb_pbdamount <>", value, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountGreaterThan(Double value) {
+            addCriterion("pb_pbdamount >", value, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountGreaterThanOrEqualTo(Double value) {
+            addCriterion("pb_pbdamount >=", value, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountLessThan(Double value) {
+            addCriterion("pb_pbdamount <", value, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountLessThanOrEqualTo(Double value) {
+            addCriterion("pb_pbdamount <=", value, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountIn(List<Double> values) {
+            addCriterion("pb_pbdamount in", values, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountNotIn(List<Double> values) {
+            addCriterion("pb_pbdamount not in", values, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountBetween(Double value1, Double value2) {
+            addCriterion("pb_pbdamount between", value1, value2, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_pbdamountNotBetween(Double value1, Double value2) {
+            addCriterion("pb_pbdamount not between", value1, value2, "pb_pbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountIsNull() {
+            addCriterion("pb_preamount is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountIsNotNull() {
+            addCriterion("pb_preamount is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountEqualTo(Double value) {
+            addCriterion("pb_preamount =", value, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountNotEqualTo(Double value) {
+            addCriterion("pb_preamount <>", value, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountGreaterThan(Double value) {
+            addCriterion("pb_preamount >", value, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountGreaterThanOrEqualTo(Double value) {
+            addCriterion("pb_preamount >=", value, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountLessThan(Double value) {
+            addCriterion("pb_preamount <", value, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountLessThanOrEqualTo(Double value) {
+            addCriterion("pb_preamount <=", value, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountIn(List<Double> values) {
+            addCriterion("pb_preamount in", values, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountNotIn(List<Double> values) {
+            addCriterion("pb_preamount not in", values, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountBetween(Double value1, Double value2) {
+            addCriterion("pb_preamount between", value1, value2, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_preamountNotBetween(Double value1, Double value2) {
+            addCriterion("pb_preamount not between", value1, value2, "pb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsIsNull() {
+            addCriterion("pb_discounts is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsIsNotNull() {
+            addCriterion("pb_discounts is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsEqualTo(Double value) {
+            addCriterion("pb_discounts =", value, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsNotEqualTo(Double value) {
+            addCriterion("pb_discounts <>", value, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsGreaterThan(Double value) {
+            addCriterion("pb_discounts >", value, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsGreaterThanOrEqualTo(Double value) {
+            addCriterion("pb_discounts >=", value, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsLessThan(Double value) {
+            addCriterion("pb_discounts <", value, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsLessThanOrEqualTo(Double value) {
+            addCriterion("pb_discounts <=", value, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsIn(List<Double> values) {
+            addCriterion("pb_discounts in", values, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsNotIn(List<Double> values) {
+            addCriterion("pb_discounts not in", values, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsBetween(Double value1, Double value2) {
+            addCriterion("pb_discounts between", value1, value2, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_discountsNotBetween(Double value1, Double value2) {
+            addCriterion("pb_discounts not between", value1, value2, "pb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceIsNull() {
+            addCriterion("pb_havebalance is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceIsNotNull() {
+            addCriterion("pb_havebalance is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceEqualTo(Double value) {
+            addCriterion("pb_havebalance =", value, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceNotEqualTo(Double value) {
+            addCriterion("pb_havebalance <>", value, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceGreaterThan(Double value) {
+            addCriterion("pb_havebalance >", value, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceGreaterThanOrEqualTo(Double value) {
+            addCriterion("pb_havebalance >=", value, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceLessThan(Double value) {
+            addCriterion("pb_havebalance <", value, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceLessThanOrEqualTo(Double value) {
+            addCriterion("pb_havebalance <=", value, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceIn(List<Double> values) {
+            addCriterion("pb_havebalance in", values, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceNotIn(List<Double> values) {
+            addCriterion("pb_havebalance not in", values, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceBetween(Double value1, Double value2) {
+            addCriterion("pb_havebalance between", value1, value2, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_havebalanceNotBetween(Double value1, Double value2) {
+            addCriterion("pb_havebalance not between", value1, value2, "pb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidIsNull() {
+            addCriterion("pb_recorderid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidIsNotNull() {
+            addCriterion("pb_recorderid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidEqualTo(Integer value) {
+            addCriterion("pb_recorderid =", value, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidNotEqualTo(Integer value) {
+            addCriterion("pb_recorderid <>", value, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidGreaterThan(Integer value) {
+            addCriterion("pb_recorderid >", value, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("pb_recorderid >=", value, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidLessThan(Integer value) {
+            addCriterion("pb_recorderid <", value, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidLessThanOrEqualTo(Integer value) {
+            addCriterion("pb_recorderid <=", value, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidIn(List<Integer> values) {
+            addCriterion("pb_recorderid in", values, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidNotIn(List<Integer> values) {
+            addCriterion("pb_recorderid not in", values, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidBetween(Integer value1, Integer value2) {
+            addCriterion("pb_recorderid between", value1, value2, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderidNotBetween(Integer value1, Integer value2) {
+            addCriterion("pb_recorderid not between", value1, value2, "pb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderIsNull() {
+            addCriterion("pb_recorder is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderIsNotNull() {
+            addCriterion("pb_recorder is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderEqualTo(String value) {
+            addCriterion("pb_recorder =", value, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderNotEqualTo(String value) {
+            addCriterion("pb_recorder <>", value, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderGreaterThan(String value) {
+            addCriterion("pb_recorder >", value, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderGreaterThanOrEqualTo(String value) {
+            addCriterion("pb_recorder >=", value, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderLessThan(String value) {
+            addCriterion("pb_recorder <", value, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderLessThanOrEqualTo(String value) {
+            addCriterion("pb_recorder <=", value, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderLike(String value) {
+            addCriterion("pb_recorder like", value, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderNotLike(String value) {
+            addCriterion("pb_recorder not like", value, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderIn(List<String> values) {
+            addCriterion("pb_recorder in", values, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderNotIn(List<String> values) {
+            addCriterion("pb_recorder not in", values, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderBetween(String value1, String value2) {
+            addCriterion("pb_recorder between", value1, value2, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorderNotBetween(String value1, String value2) {
+            addCriterion("pb_recorder not between", value1, value2, "pb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateIsNull() {
+            addCriterion("pb_recorddate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateIsNotNull() {
+            addCriterion("pb_recorddate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateEqualTo(Date value) {
+            addCriterion("pb_recorddate =", value, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateNotEqualTo(Date value) {
+            addCriterion("pb_recorddate <>", value, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateGreaterThan(Date value) {
+            addCriterion("pb_recorddate >", value, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateGreaterThanOrEqualTo(Date value) {
+            addCriterion("pb_recorddate >=", value, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateLessThan(Date value) {
+            addCriterion("pb_recorddate <", value, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateLessThanOrEqualTo(Date value) {
+            addCriterion("pb_recorddate <=", value, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateIn(List<Date> values) {
+            addCriterion("pb_recorddate in", values, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateNotIn(List<Date> values) {
+            addCriterion("pb_recorddate not in", values, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateBetween(Date value1, Date value2) {
+            addCriterion("pb_recorddate between", value1, value2, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_recorddateNotBetween(Date value1, Date value2) {
+            addCriterion("pb_recorddate not between", value1, value2, "pb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusIsNull() {
+            addCriterion("pb_status is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusIsNotNull() {
+            addCriterion("pb_status is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusEqualTo(Integer value) {
+            addCriterion("pb_status =", value, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusNotEqualTo(Integer value) {
+            addCriterion("pb_status <>", value, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusGreaterThan(Integer value) {
+            addCriterion("pb_status >", value, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusGreaterThanOrEqualTo(Integer value) {
+            addCriterion("pb_status >=", value, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusLessThan(Integer value) {
+            addCriterion("pb_status <", value, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusLessThanOrEqualTo(Integer value) {
+            addCriterion("pb_status <=", value, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusIn(List<Integer> values) {
+            addCriterion("pb_status in", values, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusNotIn(List<Integer> values) {
+            addCriterion("pb_status not in", values, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusBetween(Integer value1, Integer value2) {
+            addCriterion("pb_status between", value1, value2, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statusNotBetween(Integer value1, Integer value2) {
+            addCriterion("pb_status not between", value1, value2, "pb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeIsNull() {
+            addCriterion("pb_statuscode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeIsNotNull() {
+            addCriterion("pb_statuscode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeEqualTo(BigDecimal value) {
+            addCriterion("pb_statuscode =", value, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeNotEqualTo(BigDecimal value) {
+            addCriterion("pb_statuscode <>", value, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeGreaterThan(BigDecimal value) {
+            addCriterion("pb_statuscode >", value, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("pb_statuscode >=", value, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeLessThan(BigDecimal value) {
+            addCriterion("pb_statuscode <", value, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("pb_statuscode <=", value, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeIn(List<BigDecimal> values) {
+            addCriterion("pb_statuscode in", values, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeNotIn(List<BigDecimal> values) {
+            addCriterion("pb_statuscode not in", values, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("pb_statuscode between", value1, value2, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_statuscodeNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("pb_statuscode not between", value1, value2, "pb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkIsNull() {
+            addCriterion("pb_remark is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkIsNotNull() {
+            addCriterion("pb_remark is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkEqualTo(String value) {
+            addCriterion("pb_remark =", value, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkNotEqualTo(String value) {
+            addCriterion("pb_remark <>", value, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkGreaterThan(String value) {
+            addCriterion("pb_remark >", value, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkGreaterThanOrEqualTo(String value) {
+            addCriterion("pb_remark >=", value, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkLessThan(String value) {
+            addCriterion("pb_remark <", value, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkLessThanOrEqualTo(String value) {
+            addCriterion("pb_remark <=", value, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkLike(String value) {
+            addCriterion("pb_remark like", value, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkNotLike(String value) {
+            addCriterion("pb_remark not like", value, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkIn(List<String> values) {
+            addCriterion("pb_remark in", values, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkNotIn(List<String> values) {
+            addCriterion("pb_remark not in", values, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkBetween(String value1, String value2) {
+            addCriterion("pb_remark between", value1, value2, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_remarkNotBetween(String value1, String value2) {
+            addCriterion("pb_remark not between", value1, value2, "pb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIsNull() {
+            addCriterion("companyid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIsNotNull() {
+            addCriterion("companyid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidEqualTo(Integer value) {
+            addCriterion("companyid =", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotEqualTo(Integer value) {
+            addCriterion("companyid <>", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidGreaterThan(Integer value) {
+            addCriterion("companyid >", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("companyid >=", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidLessThan(Integer value) {
+            addCriterion("companyid <", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidLessThanOrEqualTo(Integer value) {
+            addCriterion("companyid <=", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIn(List<Integer> values) {
+            addCriterion("companyid in", values, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotIn(List<Integer> values) {
+            addCriterion("companyid not in", values, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidBetween(Integer value1, Integer value2) {
+            addCriterion("companyid between", value1, value2, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotBetween(Integer value1, Integer value2) {
+            addCriterion("companyid not between", value1, value2, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIsNull() {
+            addCriterion("updaterId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIsNotNull() {
+            addCriterion("updaterId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdEqualTo(Integer value) {
+            addCriterion("updaterId =", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotEqualTo(Integer value) {
+            addCriterion("updaterId <>", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdGreaterThan(Integer value) {
+            addCriterion("updaterId >", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("updaterId >=", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdLessThan(Integer value) {
+            addCriterion("updaterId <", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdLessThanOrEqualTo(Integer value) {
+            addCriterion("updaterId <=", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIn(List<Integer> values) {
+            addCriterion("updaterId in", values, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotIn(List<Integer> values) {
+            addCriterion("updaterId not in", values, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdBetween(Integer value1, Integer value2) {
+            addCriterion("updaterId between", value1, value2, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("updaterId not between", value1, value2, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIsNull() {
+            addCriterion("updatedate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIsNotNull() {
+            addCriterion("updatedate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateEqualTo(Date value) {
+            addCriterion("updatedate =", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotEqualTo(Date value) {
+            addCriterion("updatedate <>", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateGreaterThan(Date value) {
+            addCriterion("updatedate >", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateGreaterThanOrEqualTo(Date value) {
+            addCriterion("updatedate >=", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateLessThan(Date value) {
+            addCriterion("updatedate <", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateLessThanOrEqualTo(Date value) {
+            addCriterion("updatedate <=", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIn(List<Date> values) {
+            addCriterion("updatedate in", values, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotIn(List<Date> values) {
+            addCriterion("updatedate not in", values, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateBetween(Date value1, Date value2) {
+            addCriterion("updatedate between", value1, value2, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotBetween(Date value1, Date value2) {
+            addCriterion("updatedate not between", value1, value2, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1IsNull() {
+            addCriterion("pb_text1 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1IsNotNull() {
+            addCriterion("pb_text1 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1EqualTo(String value) {
+            addCriterion("pb_text1 =", value, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1NotEqualTo(String value) {
+            addCriterion("pb_text1 <>", value, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1GreaterThan(String value) {
+            addCriterion("pb_text1 >", value, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1GreaterThanOrEqualTo(String value) {
+            addCriterion("pb_text1 >=", value, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1LessThan(String value) {
+            addCriterion("pb_text1 <", value, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1LessThanOrEqualTo(String value) {
+            addCriterion("pb_text1 <=", value, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1Like(String value) {
+            addCriterion("pb_text1 like", value, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1NotLike(String value) {
+            addCriterion("pb_text1 not like", value, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1In(List<String> values) {
+            addCriterion("pb_text1 in", values, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1NotIn(List<String> values) {
+            addCriterion("pb_text1 not in", values, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1Between(String value1, String value2) {
+            addCriterion("pb_text1 between", value1, value2, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text1NotBetween(String value1, String value2) {
+            addCriterion("pb_text1 not between", value1, value2, "pb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2IsNull() {
+            addCriterion("pb_text2 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2IsNotNull() {
+            addCriterion("pb_text2 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2EqualTo(String value) {
+            addCriterion("pb_text2 =", value, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2NotEqualTo(String value) {
+            addCriterion("pb_text2 <>", value, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2GreaterThan(String value) {
+            addCriterion("pb_text2 >", value, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2GreaterThanOrEqualTo(String value) {
+            addCriterion("pb_text2 >=", value, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2LessThan(String value) {
+            addCriterion("pb_text2 <", value, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2LessThanOrEqualTo(String value) {
+            addCriterion("pb_text2 <=", value, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2Like(String value) {
+            addCriterion("pb_text2 like", value, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2NotLike(String value) {
+            addCriterion("pb_text2 not like", value, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2In(List<String> values) {
+            addCriterion("pb_text2 in", values, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2NotIn(List<String> values) {
+            addCriterion("pb_text2 not in", values, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2Between(String value1, String value2) {
+            addCriterion("pb_text2 between", value1, value2, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text2NotBetween(String value1, String value2) {
+            addCriterion("pb_text2 not between", value1, value2, "pb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3IsNull() {
+            addCriterion("pb_text3 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3IsNotNull() {
+            addCriterion("pb_text3 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3EqualTo(String value) {
+            addCriterion("pb_text3 =", value, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3NotEqualTo(String value) {
+            addCriterion("pb_text3 <>", value, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3GreaterThan(String value) {
+            addCriterion("pb_text3 >", value, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3GreaterThanOrEqualTo(String value) {
+            addCriterion("pb_text3 >=", value, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3LessThan(String value) {
+            addCriterion("pb_text3 <", value, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3LessThanOrEqualTo(String value) {
+            addCriterion("pb_text3 <=", value, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3Like(String value) {
+            addCriterion("pb_text3 like", value, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3NotLike(String value) {
+            addCriterion("pb_text3 not like", value, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3In(List<String> values) {
+            addCriterion("pb_text3 in", values, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3NotIn(List<String> values) {
+            addCriterion("pb_text3 not in", values, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3Between(String value1, String value2) {
+            addCriterion("pb_text3 between", value1, value2, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text3NotBetween(String value1, String value2) {
+            addCriterion("pb_text3 not between", value1, value2, "pb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4IsNull() {
+            addCriterion("pb_text4 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4IsNotNull() {
+            addCriterion("pb_text4 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4EqualTo(String value) {
+            addCriterion("pb_text4 =", value, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4NotEqualTo(String value) {
+            addCriterion("pb_text4 <>", value, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4GreaterThan(String value) {
+            addCriterion("pb_text4 >", value, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4GreaterThanOrEqualTo(String value) {
+            addCriterion("pb_text4 >=", value, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4LessThan(String value) {
+            addCriterion("pb_text4 <", value, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4LessThanOrEqualTo(String value) {
+            addCriterion("pb_text4 <=", value, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4Like(String value) {
+            addCriterion("pb_text4 like", value, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4NotLike(String value) {
+            addCriterion("pb_text4 not like", value, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4In(List<String> values) {
+            addCriterion("pb_text4 in", values, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4NotIn(List<String> values) {
+            addCriterion("pb_text4 not in", values, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4Between(String value1, String value2) {
+            addCriterion("pb_text4 between", value1, value2, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text4NotBetween(String value1, String value2) {
+            addCriterion("pb_text4 not between", value1, value2, "pb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5IsNull() {
+            addCriterion("pb_text5 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5IsNotNull() {
+            addCriterion("pb_text5 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5EqualTo(String value) {
+            addCriterion("pb_text5 =", value, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5NotEqualTo(String value) {
+            addCriterion("pb_text5 <>", value, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5GreaterThan(String value) {
+            addCriterion("pb_text5 >", value, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5GreaterThanOrEqualTo(String value) {
+            addCriterion("pb_text5 >=", value, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5LessThan(String value) {
+            addCriterion("pb_text5 <", value, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5LessThanOrEqualTo(String value) {
+            addCriterion("pb_text5 <=", value, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5Like(String value) {
+            addCriterion("pb_text5 like", value, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5NotLike(String value) {
+            addCriterion("pb_text5 not like", value, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5In(List<String> values) {
+            addCriterion("pb_text5 in", values, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5NotIn(List<String> values) {
+            addCriterion("pb_text5 not in", values, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5Between(String value1, String value2) {
+            addCriterion("pb_text5 between", value1, value2, "pb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andPb_text5NotBetween(String value1, String value2) {
+            addCriterion("pb_text5 not between", value1, value2, "pb_text5");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

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

@@ -0,0 +1,252 @@
+package com.usoftchina.saas.money.po;
+
+import com.usoftchina.saas.base.entity.CommonBaseEntity;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author hx
+ * @createtime 2018-10-19 15:59
+ */
+public class Recbalance extends CommonBaseEntity implements Serializable {
+    private Integer rb_id;
+
+    private String rb_code;
+
+    private String rb_kind;
+
+    private Date rb_date;
+
+    private Integer rb_custid;
+
+    private String rb_custcode;
+
+    private String rb_custname;
+
+    private String rb_manname;
+
+    private Double rb_rdamount;
+
+    private Double rb_rbdamount;
+
+    private Double rb_preamount;
+
+    private Double rb_discounts;
+
+    private Double rb_havebalance;
+
+    private Integer rb_recorderid;
+
+    private String rb_recorder;
+
+    private Date rb_recorddate;
+
+    private Integer rb_status;
+
+    private Long rb_statuscode;
+
+    private String rb_remark;
+
+    private String rb_text1;
+
+    private String rb_text2;
+
+    private String rb_text3;
+
+    private String rb_text4;
+
+    private String rb_text5;
+
+    public Integer getRb_id() {
+        return rb_id;
+    }
+
+    public void setRb_id(Integer rb_id) {
+        this.rb_id = rb_id;
+    }
+
+    public String getRb_code() {
+        return rb_code;
+    }
+
+    public void setRb_code(String rb_code) {
+        this.rb_code = rb_code == null ? null : rb_code.trim();
+    }
+
+    public String getRb_kind() {
+        return rb_kind;
+    }
+
+    public void setRb_kind(String rb_kind) {
+        this.rb_kind = rb_kind == null ? null : rb_kind.trim();
+    }
+
+    public Date getRb_date() {
+        return rb_date;
+    }
+
+    public void setRb_date(Date rb_date) {
+        this.rb_date = rb_date;
+    }
+
+    public Integer getRb_custid() {
+        return rb_custid;
+    }
+
+    public void setRb_custid(Integer rb_custid) {
+        this.rb_custid = rb_custid;
+    }
+
+    public String getRb_custcode() {
+        return rb_custcode;
+    }
+
+    public void setRb_custcode(String rb_custcode) {
+        this.rb_custcode = rb_custcode == null ? null : rb_custcode.trim();
+    }
+
+    public String getRb_custname() {
+        return rb_custname;
+    }
+
+    public void setRb_custname(String rb_custname) {
+        this.rb_custname = rb_custname == null ? null : rb_custname.trim();
+    }
+
+    public String getRb_manname() {
+        return rb_manname;
+    }
+
+    public void setRb_manname(String rb_manname) {
+        this.rb_manname = rb_manname == null ? null : rb_manname.trim();
+    }
+
+    public Double getRb_rdamount() {
+        return rb_rdamount;
+    }
+
+    public void setRb_rdamount(Double rb_rdamount) {
+        this.rb_rdamount = rb_rdamount;
+    }
+
+    public Double getRb_rbdamount() {
+        return rb_rbdamount;
+    }
+
+    public void setRb_rbdamount(Double rb_rbdamount) {
+        this.rb_rbdamount = rb_rbdamount;
+    }
+
+    public Double getRb_preamount() {
+        return rb_preamount;
+    }
+
+    public void setRb_preamount(Double rb_preamount) {
+        this.rb_preamount = rb_preamount;
+    }
+
+    public Double getRb_discounts() {
+        return rb_discounts;
+    }
+
+    public void setRb_discounts(Double rb_discounts) {
+        this.rb_discounts = rb_discounts;
+    }
+
+    public Double getRb_havebalance() {
+        return rb_havebalance;
+    }
+
+    public void setRb_havebalance(Double rb_havebalance) {
+        this.rb_havebalance = rb_havebalance;
+    }
+
+    public Integer getRb_recorderid() {
+        return rb_recorderid;
+    }
+
+    public void setRb_recorderid(Integer rb_recorderid) {
+        this.rb_recorderid = rb_recorderid;
+    }
+
+    public String getRb_recorder() {
+        return rb_recorder;
+    }
+
+    public void setRb_recorder(String rb_recorder) {
+        this.rb_recorder = rb_recorder == null ? null : rb_recorder.trim();
+    }
+
+    public Date getRb_recorddate() {
+        return rb_recorddate;
+    }
+
+    public void setRb_recorddate(Date rb_recorddate) {
+        this.rb_recorddate = rb_recorddate;
+    }
+
+    public Integer getRb_status() {
+        return rb_status;
+    }
+
+    public void setRb_status(Integer rb_status) {
+        this.rb_status = rb_status;
+    }
+
+    public Long getRb_statuscode() {
+        return rb_statuscode;
+    }
+
+    public void setRb_statuscode(Long rb_statuscode) {
+        this.rb_statuscode = rb_statuscode;
+    }
+
+    public String getRb_remark() {
+        return rb_remark;
+    }
+
+    public void setRb_remark(String rb_remark) {
+        this.rb_remark = rb_remark == null ? null : rb_remark.trim();
+    }
+
+    public String getRb_text1() {
+        return rb_text1;
+    }
+
+    public void setRb_text1(String rb_text1) {
+        this.rb_text1 = rb_text1 == null ? null : rb_text1.trim();
+    }
+
+    public String getRb_text2() {
+        return rb_text2;
+    }
+
+    public void setRb_text2(String rb_text2) {
+        this.rb_text2 = rb_text2 == null ? null : rb_text2.trim();
+    }
+
+    public String getRb_text3() {
+        return rb_text3;
+    }
+
+    public void setRb_text3(String rb_text3) {
+        this.rb_text3 = rb_text3 == null ? null : rb_text3.trim();
+    }
+
+    public String getRb_text4() {
+        return rb_text4;
+    }
+
+    public void setRb_text4(String rb_text4) {
+        this.rb_text4 = rb_text4 == null ? null : rb_text4.trim();
+    }
+
+    public String getRb_text5() {
+        return rb_text5;
+    }
+
+    public void setRb_text5(String rb_text5) {
+        this.rb_text5 = rb_text5 == null ? null : rb_text5.trim();
+    }
+}

+ 1945 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/RecbalanceExample.java

@@ -0,0 +1,1945 @@
+package com.usoftchina.saas.money.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @author hx
+ * @createtime 2018-10-19 16:13
+ */
+public class RecbalanceExample {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public RecbalanceExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andRb_idIsNull() {
+            addCriterion("rb_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idIsNotNull() {
+            addCriterion("rb_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idEqualTo(Integer value) {
+            addCriterion("rb_id =", value, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idNotEqualTo(Integer value) {
+            addCriterion("rb_id <>", value, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idGreaterThan(Integer value) {
+            addCriterion("rb_id >", value, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rb_id >=", value, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idLessThan(Integer value) {
+            addCriterion("rb_id <", value, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idLessThanOrEqualTo(Integer value) {
+            addCriterion("rb_id <=", value, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idIn(List<Integer> values) {
+            addCriterion("rb_id in", values, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idNotIn(List<Integer> values) {
+            addCriterion("rb_id not in", values, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idBetween(Integer value1, Integer value2) {
+            addCriterion("rb_id between", value1, value2, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_idNotBetween(Integer value1, Integer value2) {
+            addCriterion("rb_id not between", value1, value2, "rb_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeIsNull() {
+            addCriterion("rb_code is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeIsNotNull() {
+            addCriterion("rb_code is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeEqualTo(String value) {
+            addCriterion("rb_code =", value, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeNotEqualTo(String value) {
+            addCriterion("rb_code <>", value, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeGreaterThan(String value) {
+            addCriterion("rb_code >", value, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeGreaterThanOrEqualTo(String value) {
+            addCriterion("rb_code >=", value, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeLessThan(String value) {
+            addCriterion("rb_code <", value, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeLessThanOrEqualTo(String value) {
+            addCriterion("rb_code <=", value, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeLike(String value) {
+            addCriterion("rb_code like", value, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeNotLike(String value) {
+            addCriterion("rb_code not like", value, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeIn(List<String> values) {
+            addCriterion("rb_code in", values, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeNotIn(List<String> values) {
+            addCriterion("rb_code not in", values, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeBetween(String value1, String value2) {
+            addCriterion("rb_code between", value1, value2, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_codeNotBetween(String value1, String value2) {
+            addCriterion("rb_code not between", value1, value2, "rb_code");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindIsNull() {
+            addCriterion("rb_kind is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindIsNotNull() {
+            addCriterion("rb_kind is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindEqualTo(String value) {
+            addCriterion("rb_kind =", value, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindNotEqualTo(String value) {
+            addCriterion("rb_kind <>", value, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindGreaterThan(String value) {
+            addCriterion("rb_kind >", value, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindGreaterThanOrEqualTo(String value) {
+            addCriterion("rb_kind >=", value, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindLessThan(String value) {
+            addCriterion("rb_kind <", value, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindLessThanOrEqualTo(String value) {
+            addCriterion("rb_kind <=", value, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindLike(String value) {
+            addCriterion("rb_kind like", value, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindNotLike(String value) {
+            addCriterion("rb_kind not like", value, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindIn(List<String> values) {
+            addCriterion("rb_kind in", values, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindNotIn(List<String> values) {
+            addCriterion("rb_kind not in", values, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindBetween(String value1, String value2) {
+            addCriterion("rb_kind between", value1, value2, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_kindNotBetween(String value1, String value2) {
+            addCriterion("rb_kind not between", value1, value2, "rb_kind");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateIsNull() {
+            addCriterion("rb_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateIsNotNull() {
+            addCriterion("rb_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateEqualTo(Date value) {
+            addCriterion("rb_date =", value, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateNotEqualTo(Date value) {
+            addCriterion("rb_date <>", value, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateGreaterThan(Date value) {
+            addCriterion("rb_date >", value, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateGreaterThanOrEqualTo(Date value) {
+            addCriterion("rb_date >=", value, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateLessThan(Date value) {
+            addCriterion("rb_date <", value, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateLessThanOrEqualTo(Date value) {
+            addCriterion("rb_date <=", value, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateIn(List<Date> values) {
+            addCriterion("rb_date in", values, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateNotIn(List<Date> values) {
+            addCriterion("rb_date not in", values, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateBetween(Date value1, Date value2) {
+            addCriterion("rb_date between", value1, value2, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_dateNotBetween(Date value1, Date value2) {
+            addCriterion("rb_date not between", value1, value2, "rb_date");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidIsNull() {
+            addCriterion("rb_custid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidIsNotNull() {
+            addCriterion("rb_custid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidEqualTo(Integer value) {
+            addCriterion("rb_custid =", value, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidNotEqualTo(Integer value) {
+            addCriterion("rb_custid <>", value, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidGreaterThan(Integer value) {
+            addCriterion("rb_custid >", value, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rb_custid >=", value, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidLessThan(Integer value) {
+            addCriterion("rb_custid <", value, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidLessThanOrEqualTo(Integer value) {
+            addCriterion("rb_custid <=", value, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidIn(List<Integer> values) {
+            addCriterion("rb_custid in", values, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidNotIn(List<Integer> values) {
+            addCriterion("rb_custid not in", values, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidBetween(Integer value1, Integer value2) {
+            addCriterion("rb_custid between", value1, value2, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custidNotBetween(Integer value1, Integer value2) {
+            addCriterion("rb_custid not between", value1, value2, "rb_custid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeIsNull() {
+            addCriterion("rb_custcode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeIsNotNull() {
+            addCriterion("rb_custcode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeEqualTo(String value) {
+            addCriterion("rb_custcode =", value, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeNotEqualTo(String value) {
+            addCriterion("rb_custcode <>", value, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeGreaterThan(String value) {
+            addCriterion("rb_custcode >", value, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeGreaterThanOrEqualTo(String value) {
+            addCriterion("rb_custcode >=", value, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeLessThan(String value) {
+            addCriterion("rb_custcode <", value, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeLessThanOrEqualTo(String value) {
+            addCriterion("rb_custcode <=", value, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeLike(String value) {
+            addCriterion("rb_custcode like", value, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeNotLike(String value) {
+            addCriterion("rb_custcode not like", value, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeIn(List<String> values) {
+            addCriterion("rb_custcode in", values, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeNotIn(List<String> values) {
+            addCriterion("rb_custcode not in", values, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeBetween(String value1, String value2) {
+            addCriterion("rb_custcode between", value1, value2, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custcodeNotBetween(String value1, String value2) {
+            addCriterion("rb_custcode not between", value1, value2, "rb_custcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameIsNull() {
+            addCriterion("rb_custname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameIsNotNull() {
+            addCriterion("rb_custname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameEqualTo(String value) {
+            addCriterion("rb_custname =", value, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameNotEqualTo(String value) {
+            addCriterion("rb_custname <>", value, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameGreaterThan(String value) {
+            addCriterion("rb_custname >", value, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameGreaterThanOrEqualTo(String value) {
+            addCriterion("rb_custname >=", value, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameLessThan(String value) {
+            addCriterion("rb_custname <", value, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameLessThanOrEqualTo(String value) {
+            addCriterion("rb_custname <=", value, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameLike(String value) {
+            addCriterion("rb_custname like", value, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameNotLike(String value) {
+            addCriterion("rb_custname not like", value, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameIn(List<String> values) {
+            addCriterion("rb_custname in", values, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameNotIn(List<String> values) {
+            addCriterion("rb_custname not in", values, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameBetween(String value1, String value2) {
+            addCriterion("rb_custname between", value1, value2, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_custnameNotBetween(String value1, String value2) {
+            addCriterion("rb_custname not between", value1, value2, "rb_custname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameIsNull() {
+            addCriterion("rb_manname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameIsNotNull() {
+            addCriterion("rb_manname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameEqualTo(String value) {
+            addCriterion("rb_manname =", value, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameNotEqualTo(String value) {
+            addCriterion("rb_manname <>", value, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameGreaterThan(String value) {
+            addCriterion("rb_manname >", value, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameGreaterThanOrEqualTo(String value) {
+            addCriterion("rb_manname >=", value, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameLessThan(String value) {
+            addCriterion("rb_manname <", value, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameLessThanOrEqualTo(String value) {
+            addCriterion("rb_manname <=", value, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameLike(String value) {
+            addCriterion("rb_manname like", value, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameNotLike(String value) {
+            addCriterion("rb_manname not like", value, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameIn(List<String> values) {
+            addCriterion("rb_manname in", values, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameNotIn(List<String> values) {
+            addCriterion("rb_manname not in", values, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameBetween(String value1, String value2) {
+            addCriterion("rb_manname between", value1, value2, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_mannameNotBetween(String value1, String value2) {
+            addCriterion("rb_manname not between", value1, value2, "rb_manname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountIsNull() {
+            addCriterion("rb_rdamount is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountIsNotNull() {
+            addCriterion("rb_rdamount is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountEqualTo(Double value) {
+            addCriterion("rb_rdamount =", value, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountNotEqualTo(Double value) {
+            addCriterion("rb_rdamount <>", value, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountGreaterThan(Double value) {
+            addCriterion("rb_rdamount >", value, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountGreaterThanOrEqualTo(Double value) {
+            addCriterion("rb_rdamount >=", value, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountLessThan(Double value) {
+            addCriterion("rb_rdamount <", value, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountLessThanOrEqualTo(Double value) {
+            addCriterion("rb_rdamount <=", value, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountIn(List<Double> values) {
+            addCriterion("rb_rdamount in", values, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountNotIn(List<Double> values) {
+            addCriterion("rb_rdamount not in", values, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountBetween(Double value1, Double value2) {
+            addCriterion("rb_rdamount between", value1, value2, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rdamountNotBetween(Double value1, Double value2) {
+            addCriterion("rb_rdamount not between", value1, value2, "rb_rdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountIsNull() {
+            addCriterion("rb_rbdamount is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountIsNotNull() {
+            addCriterion("rb_rbdamount is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountEqualTo(Double value) {
+            addCriterion("rb_rbdamount =", value, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountNotEqualTo(Double value) {
+            addCriterion("rb_rbdamount <>", value, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountGreaterThan(Double value) {
+            addCriterion("rb_rbdamount >", value, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountGreaterThanOrEqualTo(Double value) {
+            addCriterion("rb_rbdamount >=", value, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountLessThan(Double value) {
+            addCriterion("rb_rbdamount <", value, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountLessThanOrEqualTo(Double value) {
+            addCriterion("rb_rbdamount <=", value, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountIn(List<Double> values) {
+            addCriterion("rb_rbdamount in", values, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountNotIn(List<Double> values) {
+            addCriterion("rb_rbdamount not in", values, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountBetween(Double value1, Double value2) {
+            addCriterion("rb_rbdamount between", value1, value2, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_rbdamountNotBetween(Double value1, Double value2) {
+            addCriterion("rb_rbdamount not between", value1, value2, "rb_rbdamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountIsNull() {
+            addCriterion("rb_preamount is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountIsNotNull() {
+            addCriterion("rb_preamount is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountEqualTo(Double value) {
+            addCriterion("rb_preamount =", value, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountNotEqualTo(Double value) {
+            addCriterion("rb_preamount <>", value, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountGreaterThan(Double value) {
+            addCriterion("rb_preamount >", value, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountGreaterThanOrEqualTo(Double value) {
+            addCriterion("rb_preamount >=", value, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountLessThan(Double value) {
+            addCriterion("rb_preamount <", value, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountLessThanOrEqualTo(Double value) {
+            addCriterion("rb_preamount <=", value, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountIn(List<Double> values) {
+            addCriterion("rb_preamount in", values, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountNotIn(List<Double> values) {
+            addCriterion("rb_preamount not in", values, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountBetween(Double value1, Double value2) {
+            addCriterion("rb_preamount between", value1, value2, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_preamountNotBetween(Double value1, Double value2) {
+            addCriterion("rb_preamount not between", value1, value2, "rb_preamount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsIsNull() {
+            addCriterion("rb_discounts is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsIsNotNull() {
+            addCriterion("rb_discounts is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsEqualTo(Double value) {
+            addCriterion("rb_discounts =", value, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsNotEqualTo(Double value) {
+            addCriterion("rb_discounts <>", value, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsGreaterThan(Double value) {
+            addCriterion("rb_discounts >", value, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsGreaterThanOrEqualTo(Double value) {
+            addCriterion("rb_discounts >=", value, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsLessThan(Double value) {
+            addCriterion("rb_discounts <", value, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsLessThanOrEqualTo(Double value) {
+            addCriterion("rb_discounts <=", value, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsIn(List<Double> values) {
+            addCriterion("rb_discounts in", values, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsNotIn(List<Double> values) {
+            addCriterion("rb_discounts not in", values, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsBetween(Double value1, Double value2) {
+            addCriterion("rb_discounts between", value1, value2, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_discountsNotBetween(Double value1, Double value2) {
+            addCriterion("rb_discounts not between", value1, value2, "rb_discounts");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceIsNull() {
+            addCriterion("rb_havebalance is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceIsNotNull() {
+            addCriterion("rb_havebalance is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceEqualTo(Double value) {
+            addCriterion("rb_havebalance =", value, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceNotEqualTo(Double value) {
+            addCriterion("rb_havebalance <>", value, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceGreaterThan(Double value) {
+            addCriterion("rb_havebalance >", value, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceGreaterThanOrEqualTo(Double value) {
+            addCriterion("rb_havebalance >=", value, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceLessThan(Double value) {
+            addCriterion("rb_havebalance <", value, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceLessThanOrEqualTo(Double value) {
+            addCriterion("rb_havebalance <=", value, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceIn(List<Double> values) {
+            addCriterion("rb_havebalance in", values, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceNotIn(List<Double> values) {
+            addCriterion("rb_havebalance not in", values, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceBetween(Double value1, Double value2) {
+            addCriterion("rb_havebalance between", value1, value2, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_havebalanceNotBetween(Double value1, Double value2) {
+            addCriterion("rb_havebalance not between", value1, value2, "rb_havebalance");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidIsNull() {
+            addCriterion("rb_recorderid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidIsNotNull() {
+            addCriterion("rb_recorderid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidEqualTo(Integer value) {
+            addCriterion("rb_recorderid =", value, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidNotEqualTo(Integer value) {
+            addCriterion("rb_recorderid <>", value, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidGreaterThan(Integer value) {
+            addCriterion("rb_recorderid >", value, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rb_recorderid >=", value, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidLessThan(Integer value) {
+            addCriterion("rb_recorderid <", value, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidLessThanOrEqualTo(Integer value) {
+            addCriterion("rb_recorderid <=", value, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidIn(List<Integer> values) {
+            addCriterion("rb_recorderid in", values, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidNotIn(List<Integer> values) {
+            addCriterion("rb_recorderid not in", values, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidBetween(Integer value1, Integer value2) {
+            addCriterion("rb_recorderid between", value1, value2, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderidNotBetween(Integer value1, Integer value2) {
+            addCriterion("rb_recorderid not between", value1, value2, "rb_recorderid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderIsNull() {
+            addCriterion("rb_recorder is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderIsNotNull() {
+            addCriterion("rb_recorder is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderEqualTo(String value) {
+            addCriterion("rb_recorder =", value, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderNotEqualTo(String value) {
+            addCriterion("rb_recorder <>", value, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderGreaterThan(String value) {
+            addCriterion("rb_recorder >", value, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderGreaterThanOrEqualTo(String value) {
+            addCriterion("rb_recorder >=", value, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderLessThan(String value) {
+            addCriterion("rb_recorder <", value, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderLessThanOrEqualTo(String value) {
+            addCriterion("rb_recorder <=", value, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderLike(String value) {
+            addCriterion("rb_recorder like", value, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderNotLike(String value) {
+            addCriterion("rb_recorder not like", value, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderIn(List<String> values) {
+            addCriterion("rb_recorder in", values, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderNotIn(List<String> values) {
+            addCriterion("rb_recorder not in", values, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderBetween(String value1, String value2) {
+            addCriterion("rb_recorder between", value1, value2, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorderNotBetween(String value1, String value2) {
+            addCriterion("rb_recorder not between", value1, value2, "rb_recorder");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateIsNull() {
+            addCriterion("rb_recorddate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateIsNotNull() {
+            addCriterion("rb_recorddate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateEqualTo(Date value) {
+            addCriterion("rb_recorddate =", value, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateNotEqualTo(Date value) {
+            addCriterion("rb_recorddate <>", value, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateGreaterThan(Date value) {
+            addCriterion("rb_recorddate >", value, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateGreaterThanOrEqualTo(Date value) {
+            addCriterion("rb_recorddate >=", value, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateLessThan(Date value) {
+            addCriterion("rb_recorddate <", value, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateLessThanOrEqualTo(Date value) {
+            addCriterion("rb_recorddate <=", value, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateIn(List<Date> values) {
+            addCriterion("rb_recorddate in", values, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateNotIn(List<Date> values) {
+            addCriterion("rb_recorddate not in", values, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateBetween(Date value1, Date value2) {
+            addCriterion("rb_recorddate between", value1, value2, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_recorddateNotBetween(Date value1, Date value2) {
+            addCriterion("rb_recorddate not between", value1, value2, "rb_recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusIsNull() {
+            addCriterion("rb_status is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusIsNotNull() {
+            addCriterion("rb_status is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusEqualTo(Integer value) {
+            addCriterion("rb_status =", value, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusNotEqualTo(Integer value) {
+            addCriterion("rb_status <>", value, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusGreaterThan(Integer value) {
+            addCriterion("rb_status >", value, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rb_status >=", value, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusLessThan(Integer value) {
+            addCriterion("rb_status <", value, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusLessThanOrEqualTo(Integer value) {
+            addCriterion("rb_status <=", value, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusIn(List<Integer> values) {
+            addCriterion("rb_status in", values, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusNotIn(List<Integer> values) {
+            addCriterion("rb_status not in", values, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusBetween(Integer value1, Integer value2) {
+            addCriterion("rb_status between", value1, value2, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statusNotBetween(Integer value1, Integer value2) {
+            addCriterion("rb_status not between", value1, value2, "rb_status");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeIsNull() {
+            addCriterion("rb_statuscode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeIsNotNull() {
+            addCriterion("rb_statuscode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeEqualTo(Long value) {
+            addCriterion("rb_statuscode =", value, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeNotEqualTo(Long value) {
+            addCriterion("rb_statuscode <>", value, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeGreaterThan(Long value) {
+            addCriterion("rb_statuscode >", value, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeGreaterThanOrEqualTo(Long value) {
+            addCriterion("rb_statuscode >=", value, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeLessThan(Long value) {
+            addCriterion("rb_statuscode <", value, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeLessThanOrEqualTo(Long value) {
+            addCriterion("rb_statuscode <=", value, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeIn(List<Long> values) {
+            addCriterion("rb_statuscode in", values, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeNotIn(List<Long> values) {
+            addCriterion("rb_statuscode not in", values, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeBetween(Long value1, Long value2) {
+            addCriterion("rb_statuscode between", value1, value2, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_statuscodeNotBetween(Long value1, Long value2) {
+            addCriterion("rb_statuscode not between", value1, value2, "rb_statuscode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkIsNull() {
+            addCriterion("rb_remark is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkIsNotNull() {
+            addCriterion("rb_remark is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkEqualTo(String value) {
+            addCriterion("rb_remark =", value, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkNotEqualTo(String value) {
+            addCriterion("rb_remark <>", value, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkGreaterThan(String value) {
+            addCriterion("rb_remark >", value, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkGreaterThanOrEqualTo(String value) {
+            addCriterion("rb_remark >=", value, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkLessThan(String value) {
+            addCriterion("rb_remark <", value, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkLessThanOrEqualTo(String value) {
+            addCriterion("rb_remark <=", value, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkLike(String value) {
+            addCriterion("rb_remark like", value, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkNotLike(String value) {
+            addCriterion("rb_remark not like", value, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkIn(List<String> values) {
+            addCriterion("rb_remark in", values, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkNotIn(List<String> values) {
+            addCriterion("rb_remark not in", values, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkBetween(String value1, String value2) {
+            addCriterion("rb_remark between", value1, value2, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_remarkNotBetween(String value1, String value2) {
+            addCriterion("rb_remark not between", value1, value2, "rb_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIsNull() {
+            addCriterion("companyid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIsNotNull() {
+            addCriterion("companyid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidEqualTo(Integer value) {
+            addCriterion("companyid =", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotEqualTo(Integer value) {
+            addCriterion("companyid <>", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidGreaterThan(Integer value) {
+            addCriterion("companyid >", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("companyid >=", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidLessThan(Integer value) {
+            addCriterion("companyid <", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidLessThanOrEqualTo(Integer value) {
+            addCriterion("companyid <=", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIn(List<Integer> values) {
+            addCriterion("companyid in", values, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotIn(List<Integer> values) {
+            addCriterion("companyid not in", values, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidBetween(Integer value1, Integer value2) {
+            addCriterion("companyid between", value1, value2, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotBetween(Integer value1, Integer value2) {
+            addCriterion("companyid not between", value1, value2, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIsNull() {
+            addCriterion("updaterId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIsNotNull() {
+            addCriterion("updaterId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdEqualTo(Integer value) {
+            addCriterion("updaterId =", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotEqualTo(Integer value) {
+            addCriterion("updaterId <>", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdGreaterThan(Integer value) {
+            addCriterion("updaterId >", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("updaterId >=", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdLessThan(Integer value) {
+            addCriterion("updaterId <", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdLessThanOrEqualTo(Integer value) {
+            addCriterion("updaterId <=", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIn(List<Integer> values) {
+            addCriterion("updaterId in", values, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotIn(List<Integer> values) {
+            addCriterion("updaterId not in", values, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdBetween(Integer value1, Integer value2) {
+            addCriterion("updaterId between", value1, value2, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("updaterId not between", value1, value2, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIsNull() {
+            addCriterion("updatedate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIsNotNull() {
+            addCriterion("updatedate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateEqualTo(Date value) {
+            addCriterion("updatedate =", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotEqualTo(Date value) {
+            addCriterion("updatedate <>", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateGreaterThan(Date value) {
+            addCriterion("updatedate >", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateGreaterThanOrEqualTo(Date value) {
+            addCriterion("updatedate >=", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateLessThan(Date value) {
+            addCriterion("updatedate <", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateLessThanOrEqualTo(Date value) {
+            addCriterion("updatedate <=", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIn(List<Date> values) {
+            addCriterion("updatedate in", values, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotIn(List<Date> values) {
+            addCriterion("updatedate not in", values, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateBetween(Date value1, Date value2) {
+            addCriterion("updatedate between", value1, value2, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotBetween(Date value1, Date value2) {
+            addCriterion("updatedate not between", value1, value2, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1IsNull() {
+            addCriterion("rb_text1 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1IsNotNull() {
+            addCriterion("rb_text1 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1EqualTo(String value) {
+            addCriterion("rb_text1 =", value, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1NotEqualTo(String value) {
+            addCriterion("rb_text1 <>", value, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1GreaterThan(String value) {
+            addCriterion("rb_text1 >", value, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1GreaterThanOrEqualTo(String value) {
+            addCriterion("rb_text1 >=", value, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1LessThan(String value) {
+            addCriterion("rb_text1 <", value, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1LessThanOrEqualTo(String value) {
+            addCriterion("rb_text1 <=", value, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1Like(String value) {
+            addCriterion("rb_text1 like", value, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1NotLike(String value) {
+            addCriterion("rb_text1 not like", value, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1In(List<String> values) {
+            addCriterion("rb_text1 in", values, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1NotIn(List<String> values) {
+            addCriterion("rb_text1 not in", values, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1Between(String value1, String value2) {
+            addCriterion("rb_text1 between", value1, value2, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text1NotBetween(String value1, String value2) {
+            addCriterion("rb_text1 not between", value1, value2, "rb_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2IsNull() {
+            addCriterion("rb_text2 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2IsNotNull() {
+            addCriterion("rb_text2 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2EqualTo(String value) {
+            addCriterion("rb_text2 =", value, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2NotEqualTo(String value) {
+            addCriterion("rb_text2 <>", value, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2GreaterThan(String value) {
+            addCriterion("rb_text2 >", value, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2GreaterThanOrEqualTo(String value) {
+            addCriterion("rb_text2 >=", value, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2LessThan(String value) {
+            addCriterion("rb_text2 <", value, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2LessThanOrEqualTo(String value) {
+            addCriterion("rb_text2 <=", value, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2Like(String value) {
+            addCriterion("rb_text2 like", value, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2NotLike(String value) {
+            addCriterion("rb_text2 not like", value, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2In(List<String> values) {
+            addCriterion("rb_text2 in", values, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2NotIn(List<String> values) {
+            addCriterion("rb_text2 not in", values, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2Between(String value1, String value2) {
+            addCriterion("rb_text2 between", value1, value2, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text2NotBetween(String value1, String value2) {
+            addCriterion("rb_text2 not between", value1, value2, "rb_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3IsNull() {
+            addCriterion("rb_text3 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3IsNotNull() {
+            addCriterion("rb_text3 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3EqualTo(String value) {
+            addCriterion("rb_text3 =", value, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3NotEqualTo(String value) {
+            addCriterion("rb_text3 <>", value, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3GreaterThan(String value) {
+            addCriterion("rb_text3 >", value, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3GreaterThanOrEqualTo(String value) {
+            addCriterion("rb_text3 >=", value, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3LessThan(String value) {
+            addCriterion("rb_text3 <", value, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3LessThanOrEqualTo(String value) {
+            addCriterion("rb_text3 <=", value, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3Like(String value) {
+            addCriterion("rb_text3 like", value, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3NotLike(String value) {
+            addCriterion("rb_text3 not like", value, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3In(List<String> values) {
+            addCriterion("rb_text3 in", values, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3NotIn(List<String> values) {
+            addCriterion("rb_text3 not in", values, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3Between(String value1, String value2) {
+            addCriterion("rb_text3 between", value1, value2, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text3NotBetween(String value1, String value2) {
+            addCriterion("rb_text3 not between", value1, value2, "rb_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4IsNull() {
+            addCriterion("rb_text4 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4IsNotNull() {
+            addCriterion("rb_text4 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4EqualTo(String value) {
+            addCriterion("rb_text4 =", value, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4NotEqualTo(String value) {
+            addCriterion("rb_text4 <>", value, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4GreaterThan(String value) {
+            addCriterion("rb_text4 >", value, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4GreaterThanOrEqualTo(String value) {
+            addCriterion("rb_text4 >=", value, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4LessThan(String value) {
+            addCriterion("rb_text4 <", value, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4LessThanOrEqualTo(String value) {
+            addCriterion("rb_text4 <=", value, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4Like(String value) {
+            addCriterion("rb_text4 like", value, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4NotLike(String value) {
+            addCriterion("rb_text4 not like", value, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4In(List<String> values) {
+            addCriterion("rb_text4 in", values, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4NotIn(List<String> values) {
+            addCriterion("rb_text4 not in", values, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4Between(String value1, String value2) {
+            addCriterion("rb_text4 between", value1, value2, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text4NotBetween(String value1, String value2) {
+            addCriterion("rb_text4 not between", value1, value2, "rb_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5IsNull() {
+            addCriterion("rb_text5 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5IsNotNull() {
+            addCriterion("rb_text5 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5EqualTo(String value) {
+            addCriterion("rb_text5 =", value, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5NotEqualTo(String value) {
+            addCriterion("rb_text5 <>", value, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5GreaterThan(String value) {
+            addCriterion("rb_text5 >", value, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5GreaterThanOrEqualTo(String value) {
+            addCriterion("rb_text5 >=", value, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5LessThan(String value) {
+            addCriterion("rb_text5 <", value, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5LessThanOrEqualTo(String value) {
+            addCriterion("rb_text5 <=", value, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5Like(String value) {
+            addCriterion("rb_text5 like", value, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5NotLike(String value) {
+            addCriterion("rb_text5 not like", value, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5In(List<String> values) {
+            addCriterion("rb_text5 in", values, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5NotIn(List<String> values) {
+            addCriterion("rb_text5 not in", values, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5Between(String value1, String value2) {
+            addCriterion("rb_text5 between", value1, value2, "rb_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRb_text5NotBetween(String value1, String value2) {
+            addCriterion("rb_text5 not between", value1, value2, "rb_text5");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 202 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/Recbalancedet.java

@@ -0,0 +1,202 @@
+package com.usoftchina.saas.money.po;
+
+import com.usoftchina.saas.base.entity.CommonBaseEntity;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author hx
+ * @createtime 2018-10-19 16:03
+ */
+public class Recbalancedet extends CommonBaseEntity implements Serializable{
+    private Integer rd_id;
+
+    private Integer rd_rbid;
+
+    private Integer rd_detno;
+
+    private Integer rd_ym;
+
+    private Integer rd_bankid;
+
+    private String rd_bankcode;
+
+    private String rd_bankname;
+
+    private Double rd_amount;
+
+    private String rd_paymethod;
+
+    private String rd_paycode;
+
+    private String rd_remark;
+
+    private Integer companyid;
+
+    private Integer updaterId;
+
+    private Date updatedate;
+
+    private String rd_text1;
+
+    private String rd_text2;
+
+    private String rd_text3;
+
+    private String rd_text4;
+
+    private String rd_text5;
+
+    public Integer getRd_id() {
+        return rd_id;
+    }
+
+    public void setRd_id(Integer rd_id) {
+        this.rd_id = rd_id;
+    }
+
+    public Integer getRd_rbid() {
+        return rd_rbid;
+    }
+
+    public void setRd_rbid(Integer rd_rbid) {
+        this.rd_rbid = rd_rbid;
+    }
+
+    public Integer getRd_detno() {
+        return rd_detno;
+    }
+
+    public void setRd_detno(Integer rd_detno) {
+        this.rd_detno = rd_detno;
+    }
+
+    public Integer getRd_ym() {
+        return rd_ym;
+    }
+
+    public void setRd_ym(Integer rd_ym) {
+        this.rd_ym = rd_ym;
+    }
+
+    public Integer getRd_bankid() {
+        return rd_bankid;
+    }
+
+    public void setRd_bankid(Integer rd_bankid) {
+        this.rd_bankid = rd_bankid;
+    }
+
+    public String getRd_bankcode() {
+        return rd_bankcode;
+    }
+
+    public void setRd_bankcode(String rd_bankcode) {
+        this.rd_bankcode = rd_bankcode == null ? null : rd_bankcode.trim();
+    }
+
+    public String getRd_bankname() {
+        return rd_bankname;
+    }
+
+    public void setRd_bankname(String rd_bankname) {
+        this.rd_bankname = rd_bankname == null ? null : rd_bankname.trim();
+    }
+
+    public Double getRd_amount() {
+        return rd_amount;
+    }
+
+    public void setRd_amount(Double rd_amount) {
+        this.rd_amount = rd_amount;
+    }
+
+    public String getRd_paymethod() {
+        return rd_paymethod;
+    }
+
+    public void setRd_paymethod(String rd_paymethod) {
+        this.rd_paymethod = rd_paymethod == null ? null : rd_paymethod.trim();
+    }
+
+    public String getRd_paycode() {
+        return rd_paycode;
+    }
+
+    public void setRd_paycode(String rd_paycode) {
+        this.rd_paycode = rd_paycode == null ? null : rd_paycode.trim();
+    }
+
+    public String getRd_remark() {
+        return rd_remark;
+    }
+
+    public void setRd_remark(String rd_remark) {
+        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;
+    }
+
+    public void setRd_text1(String rd_text1) {
+        this.rd_text1 = rd_text1 == null ? null : rd_text1.trim();
+    }
+
+    public String getRd_text2() {
+        return rd_text2;
+    }
+
+    public void setRd_text2(String rd_text2) {
+        this.rd_text2 = rd_text2 == null ? null : rd_text2.trim();
+    }
+
+    public String getRd_text3() {
+        return rd_text3;
+    }
+
+    public void setRd_text3(String rd_text3) {
+        this.rd_text3 = rd_text3 == null ? null : rd_text3.trim();
+    }
+
+    public String getRd_text4() {
+        return rd_text4;
+    }
+
+    public void setRd_text4(String rd_text4) {
+        this.rd_text4 = rd_text4 == null ? null : rd_text4.trim();
+    }
+
+    public String getRd_text5() {
+        return rd_text5;
+    }
+
+    public void setRd_text5(String rd_text5) {
+        this.rd_text5 = rd_text5 == null ? null : rd_text5.trim();
+    }
+}

+ 1445 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/po/RecbalancedetExample.java

@@ -0,0 +1,1445 @@
+package com.usoftchina.saas.money.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @author hx
+ * @createtime 2018-10-19 16:03
+ */
+public class RecbalancedetExample {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    public RecbalancedetExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andRd_idIsNull() {
+            addCriterion("rd_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idIsNotNull() {
+            addCriterion("rd_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idEqualTo(Integer value) {
+            addCriterion("rd_id =", value, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idNotEqualTo(Integer value) {
+            addCriterion("rd_id <>", value, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idGreaterThan(Integer value) {
+            addCriterion("rd_id >", value, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rd_id >=", value, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idLessThan(Integer value) {
+            addCriterion("rd_id <", value, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idLessThanOrEqualTo(Integer value) {
+            addCriterion("rd_id <=", value, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idIn(List<Integer> values) {
+            addCriterion("rd_id in", values, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idNotIn(List<Integer> values) {
+            addCriterion("rd_id not in", values, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idBetween(Integer value1, Integer value2) {
+            addCriterion("rd_id between", value1, value2, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_idNotBetween(Integer value1, Integer value2) {
+            addCriterion("rd_id not between", value1, value2, "rd_id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidIsNull() {
+            addCriterion("rd_rbid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidIsNotNull() {
+            addCriterion("rd_rbid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidEqualTo(Integer value) {
+            addCriterion("rd_rbid =", value, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidNotEqualTo(Integer value) {
+            addCriterion("rd_rbid <>", value, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidGreaterThan(Integer value) {
+            addCriterion("rd_rbid >", value, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rd_rbid >=", value, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidLessThan(Integer value) {
+            addCriterion("rd_rbid <", value, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidLessThanOrEqualTo(Integer value) {
+            addCriterion("rd_rbid <=", value, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidIn(List<Integer> values) {
+            addCriterion("rd_rbid in", values, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidNotIn(List<Integer> values) {
+            addCriterion("rd_rbid not in", values, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidBetween(Integer value1, Integer value2) {
+            addCriterion("rd_rbid between", value1, value2, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_rbidNotBetween(Integer value1, Integer value2) {
+            addCriterion("rd_rbid not between", value1, value2, "rd_rbid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoIsNull() {
+            addCriterion("rd_detno is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoIsNotNull() {
+            addCriterion("rd_detno is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoEqualTo(Integer value) {
+            addCriterion("rd_detno =", value, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoNotEqualTo(Integer value) {
+            addCriterion("rd_detno <>", value, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoGreaterThan(Integer value) {
+            addCriterion("rd_detno >", value, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rd_detno >=", value, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoLessThan(Integer value) {
+            addCriterion("rd_detno <", value, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoLessThanOrEqualTo(Integer value) {
+            addCriterion("rd_detno <=", value, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoIn(List<Integer> values) {
+            addCriterion("rd_detno in", values, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoNotIn(List<Integer> values) {
+            addCriterion("rd_detno not in", values, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoBetween(Integer value1, Integer value2) {
+            addCriterion("rd_detno between", value1, value2, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_detnoNotBetween(Integer value1, Integer value2) {
+            addCriterion("rd_detno not between", value1, value2, "rd_detno");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymIsNull() {
+            addCriterion("rd_ym is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymIsNotNull() {
+            addCriterion("rd_ym is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymEqualTo(Integer value) {
+            addCriterion("rd_ym =", value, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymNotEqualTo(Integer value) {
+            addCriterion("rd_ym <>", value, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymGreaterThan(Integer value) {
+            addCriterion("rd_ym >", value, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rd_ym >=", value, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymLessThan(Integer value) {
+            addCriterion("rd_ym <", value, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymLessThanOrEqualTo(Integer value) {
+            addCriterion("rd_ym <=", value, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymIn(List<Integer> values) {
+            addCriterion("rd_ym in", values, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymNotIn(List<Integer> values) {
+            addCriterion("rd_ym not in", values, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymBetween(Integer value1, Integer value2) {
+            addCriterion("rd_ym between", value1, value2, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_ymNotBetween(Integer value1, Integer value2) {
+            addCriterion("rd_ym not between", value1, value2, "rd_ym");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidIsNull() {
+            addCriterion("rd_bankid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidIsNotNull() {
+            addCriterion("rd_bankid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidEqualTo(Integer value) {
+            addCriterion("rd_bankid =", value, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidNotEqualTo(Integer value) {
+            addCriterion("rd_bankid <>", value, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidGreaterThan(Integer value) {
+            addCriterion("rd_bankid >", value, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("rd_bankid >=", value, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidLessThan(Integer value) {
+            addCriterion("rd_bankid <", value, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidLessThanOrEqualTo(Integer value) {
+            addCriterion("rd_bankid <=", value, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidIn(List<Integer> values) {
+            addCriterion("rd_bankid in", values, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidNotIn(List<Integer> values) {
+            addCriterion("rd_bankid not in", values, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidBetween(Integer value1, Integer value2) {
+            addCriterion("rd_bankid between", value1, value2, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankidNotBetween(Integer value1, Integer value2) {
+            addCriterion("rd_bankid not between", value1, value2, "rd_bankid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeIsNull() {
+            addCriterion("rd_bankcode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeIsNotNull() {
+            addCriterion("rd_bankcode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeEqualTo(String value) {
+            addCriterion("rd_bankcode =", value, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeNotEqualTo(String value) {
+            addCriterion("rd_bankcode <>", value, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeGreaterThan(String value) {
+            addCriterion("rd_bankcode >", value, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeGreaterThanOrEqualTo(String value) {
+            addCriterion("rd_bankcode >=", value, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeLessThan(String value) {
+            addCriterion("rd_bankcode <", value, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeLessThanOrEqualTo(String value) {
+            addCriterion("rd_bankcode <=", value, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeLike(String value) {
+            addCriterion("rd_bankcode like", value, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeNotLike(String value) {
+            addCriterion("rd_bankcode not like", value, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeIn(List<String> values) {
+            addCriterion("rd_bankcode in", values, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeNotIn(List<String> values) {
+            addCriterion("rd_bankcode not in", values, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeBetween(String value1, String value2) {
+            addCriterion("rd_bankcode between", value1, value2, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_bankcodeNotBetween(String value1, String value2) {
+            addCriterion("rd_bankcode not between", value1, value2, "rd_bankcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameIsNull() {
+            addCriterion("rd_bankname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameIsNotNull() {
+            addCriterion("rd_bankname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameEqualTo(String value) {
+            addCriterion("rd_bankname =", value, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameNotEqualTo(String value) {
+            addCriterion("rd_bankname <>", value, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameGreaterThan(String value) {
+            addCriterion("rd_bankname >", value, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameGreaterThanOrEqualTo(String value) {
+            addCriterion("rd_bankname >=", value, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameLessThan(String value) {
+            addCriterion("rd_bankname <", value, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameLessThanOrEqualTo(String value) {
+            addCriterion("rd_bankname <=", value, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameLike(String value) {
+            addCriterion("rd_bankname like", value, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameNotLike(String value) {
+            addCriterion("rd_bankname not like", value, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameIn(List<String> values) {
+            addCriterion("rd_bankname in", values, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameNotIn(List<String> values) {
+            addCriterion("rd_bankname not in", values, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameBetween(String value1, String value2) {
+            addCriterion("rd_bankname between", value1, value2, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_banknameNotBetween(String value1, String value2) {
+            addCriterion("rd_bankname not between", value1, value2, "rd_bankname");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountIsNull() {
+            addCriterion("rd_amount is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountIsNotNull() {
+            addCriterion("rd_amount is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountEqualTo(Double value) {
+            addCriterion("rd_amount =", value, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountNotEqualTo(Double value) {
+            addCriterion("rd_amount <>", value, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountGreaterThan(Double value) {
+            addCriterion("rd_amount >", value, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountGreaterThanOrEqualTo(Double value) {
+            addCriterion("rd_amount >=", value, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountLessThan(Double value) {
+            addCriterion("rd_amount <", value, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountLessThanOrEqualTo(Double value) {
+            addCriterion("rd_amount <=", value, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountIn(List<Double> values) {
+            addCriterion("rd_amount in", values, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountNotIn(List<Double> values) {
+            addCriterion("rd_amount not in", values, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountBetween(Double value1, Double value2) {
+            addCriterion("rd_amount between", value1, value2, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_amountNotBetween(Double value1, Double value2) {
+            addCriterion("rd_amount not between", value1, value2, "rd_amount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodIsNull() {
+            addCriterion("rd_paymethod is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodIsNotNull() {
+            addCriterion("rd_paymethod is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodEqualTo(String value) {
+            addCriterion("rd_paymethod =", value, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodNotEqualTo(String value) {
+            addCriterion("rd_paymethod <>", value, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodGreaterThan(String value) {
+            addCriterion("rd_paymethod >", value, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodGreaterThanOrEqualTo(String value) {
+            addCriterion("rd_paymethod >=", value, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodLessThan(String value) {
+            addCriterion("rd_paymethod <", value, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodLessThanOrEqualTo(String value) {
+            addCriterion("rd_paymethod <=", value, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodLike(String value) {
+            addCriterion("rd_paymethod like", value, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodNotLike(String value) {
+            addCriterion("rd_paymethod not like", value, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodIn(List<String> values) {
+            addCriterion("rd_paymethod in", values, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodNotIn(List<String> values) {
+            addCriterion("rd_paymethod not in", values, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodBetween(String value1, String value2) {
+            addCriterion("rd_paymethod between", value1, value2, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paymethodNotBetween(String value1, String value2) {
+            addCriterion("rd_paymethod not between", value1, value2, "rd_paymethod");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeIsNull() {
+            addCriterion("rd_paycode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeIsNotNull() {
+            addCriterion("rd_paycode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeEqualTo(String value) {
+            addCriterion("rd_paycode =", value, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeNotEqualTo(String value) {
+            addCriterion("rd_paycode <>", value, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeGreaterThan(String value) {
+            addCriterion("rd_paycode >", value, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeGreaterThanOrEqualTo(String value) {
+            addCriterion("rd_paycode >=", value, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeLessThan(String value) {
+            addCriterion("rd_paycode <", value, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeLessThanOrEqualTo(String value) {
+            addCriterion("rd_paycode <=", value, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeLike(String value) {
+            addCriterion("rd_paycode like", value, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeNotLike(String value) {
+            addCriterion("rd_paycode not like", value, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeIn(List<String> values) {
+            addCriterion("rd_paycode in", values, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeNotIn(List<String> values) {
+            addCriterion("rd_paycode not in", values, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeBetween(String value1, String value2) {
+            addCriterion("rd_paycode between", value1, value2, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_paycodeNotBetween(String value1, String value2) {
+            addCriterion("rd_paycode not between", value1, value2, "rd_paycode");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkIsNull() {
+            addCriterion("rd_remark is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkIsNotNull() {
+            addCriterion("rd_remark is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkEqualTo(String value) {
+            addCriterion("rd_remark =", value, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkNotEqualTo(String value) {
+            addCriterion("rd_remark <>", value, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkGreaterThan(String value) {
+            addCriterion("rd_remark >", value, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkGreaterThanOrEqualTo(String value) {
+            addCriterion("rd_remark >=", value, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkLessThan(String value) {
+            addCriterion("rd_remark <", value, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkLessThanOrEqualTo(String value) {
+            addCriterion("rd_remark <=", value, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkLike(String value) {
+            addCriterion("rd_remark like", value, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkNotLike(String value) {
+            addCriterion("rd_remark not like", value, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkIn(List<String> values) {
+            addCriterion("rd_remark in", values, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkNotIn(List<String> values) {
+            addCriterion("rd_remark not in", values, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkBetween(String value1, String value2) {
+            addCriterion("rd_remark between", value1, value2, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_remarkNotBetween(String value1, String value2) {
+            addCriterion("rd_remark not between", value1, value2, "rd_remark");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIsNull() {
+            addCriterion("companyid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIsNotNull() {
+            addCriterion("companyid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidEqualTo(Integer value) {
+            addCriterion("companyid =", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotEqualTo(Integer value) {
+            addCriterion("companyid <>", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidGreaterThan(Integer value) {
+            addCriterion("companyid >", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidGreaterThanOrEqualTo(Integer value) {
+            addCriterion("companyid >=", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidLessThan(Integer value) {
+            addCriterion("companyid <", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidLessThanOrEqualTo(Integer value) {
+            addCriterion("companyid <=", value, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidIn(List<Integer> values) {
+            addCriterion("companyid in", values, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotIn(List<Integer> values) {
+            addCriterion("companyid not in", values, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidBetween(Integer value1, Integer value2) {
+            addCriterion("companyid between", value1, value2, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andCompanyidNotBetween(Integer value1, Integer value2) {
+            addCriterion("companyid not between", value1, value2, "companyid");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIsNull() {
+            addCriterion("updaterId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIsNotNull() {
+            addCriterion("updaterId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdEqualTo(Integer value) {
+            addCriterion("updaterId =", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotEqualTo(Integer value) {
+            addCriterion("updaterId <>", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdGreaterThan(Integer value) {
+            addCriterion("updaterId >", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("updaterId >=", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdLessThan(Integer value) {
+            addCriterion("updaterId <", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdLessThanOrEqualTo(Integer value) {
+            addCriterion("updaterId <=", value, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdIn(List<Integer> values) {
+            addCriterion("updaterId in", values, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotIn(List<Integer> values) {
+            addCriterion("updaterId not in", values, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdBetween(Integer value1, Integer value2) {
+            addCriterion("updaterId between", value1, value2, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdaterIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("updaterId not between", value1, value2, "updaterId");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIsNull() {
+            addCriterion("updatedate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIsNotNull() {
+            addCriterion("updatedate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateEqualTo(Date value) {
+            addCriterion("updatedate =", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotEqualTo(Date value) {
+            addCriterion("updatedate <>", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateGreaterThan(Date value) {
+            addCriterion("updatedate >", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateGreaterThanOrEqualTo(Date value) {
+            addCriterion("updatedate >=", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateLessThan(Date value) {
+            addCriterion("updatedate <", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateLessThanOrEqualTo(Date value) {
+            addCriterion("updatedate <=", value, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateIn(List<Date> values) {
+            addCriterion("updatedate in", values, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotIn(List<Date> values) {
+            addCriterion("updatedate not in", values, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateBetween(Date value1, Date value2) {
+            addCriterion("updatedate between", value1, value2, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdatedateNotBetween(Date value1, Date value2) {
+            addCriterion("updatedate not between", value1, value2, "updatedate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1IsNull() {
+            addCriterion("rd_text1 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1IsNotNull() {
+            addCriterion("rd_text1 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1EqualTo(String value) {
+            addCriterion("rd_text1 =", value, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1NotEqualTo(String value) {
+            addCriterion("rd_text1 <>", value, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1GreaterThan(String value) {
+            addCriterion("rd_text1 >", value, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1GreaterThanOrEqualTo(String value) {
+            addCriterion("rd_text1 >=", value, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1LessThan(String value) {
+            addCriterion("rd_text1 <", value, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1LessThanOrEqualTo(String value) {
+            addCriterion("rd_text1 <=", value, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1Like(String value) {
+            addCriterion("rd_text1 like", value, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1NotLike(String value) {
+            addCriterion("rd_text1 not like", value, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1In(List<String> values) {
+            addCriterion("rd_text1 in", values, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1NotIn(List<String> values) {
+            addCriterion("rd_text1 not in", values, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1Between(String value1, String value2) {
+            addCriterion("rd_text1 between", value1, value2, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text1NotBetween(String value1, String value2) {
+            addCriterion("rd_text1 not between", value1, value2, "rd_text1");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2IsNull() {
+            addCriterion("rd_text2 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2IsNotNull() {
+            addCriterion("rd_text2 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2EqualTo(String value) {
+            addCriterion("rd_text2 =", value, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2NotEqualTo(String value) {
+            addCriterion("rd_text2 <>", value, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2GreaterThan(String value) {
+            addCriterion("rd_text2 >", value, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2GreaterThanOrEqualTo(String value) {
+            addCriterion("rd_text2 >=", value, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2LessThan(String value) {
+            addCriterion("rd_text2 <", value, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2LessThanOrEqualTo(String value) {
+            addCriterion("rd_text2 <=", value, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2Like(String value) {
+            addCriterion("rd_text2 like", value, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2NotLike(String value) {
+            addCriterion("rd_text2 not like", value, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2In(List<String> values) {
+            addCriterion("rd_text2 in", values, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2NotIn(List<String> values) {
+            addCriterion("rd_text2 not in", values, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2Between(String value1, String value2) {
+            addCriterion("rd_text2 between", value1, value2, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text2NotBetween(String value1, String value2) {
+            addCriterion("rd_text2 not between", value1, value2, "rd_text2");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3IsNull() {
+            addCriterion("rd_text3 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3IsNotNull() {
+            addCriterion("rd_text3 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3EqualTo(String value) {
+            addCriterion("rd_text3 =", value, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3NotEqualTo(String value) {
+            addCriterion("rd_text3 <>", value, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3GreaterThan(String value) {
+            addCriterion("rd_text3 >", value, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3GreaterThanOrEqualTo(String value) {
+            addCriterion("rd_text3 >=", value, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3LessThan(String value) {
+            addCriterion("rd_text3 <", value, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3LessThanOrEqualTo(String value) {
+            addCriterion("rd_text3 <=", value, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3Like(String value) {
+            addCriterion("rd_text3 like", value, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3NotLike(String value) {
+            addCriterion("rd_text3 not like", value, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3In(List<String> values) {
+            addCriterion("rd_text3 in", values, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3NotIn(List<String> values) {
+            addCriterion("rd_text3 not in", values, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3Between(String value1, String value2) {
+            addCriterion("rd_text3 between", value1, value2, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text3NotBetween(String value1, String value2) {
+            addCriterion("rd_text3 not between", value1, value2, "rd_text3");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4IsNull() {
+            addCriterion("rd_text4 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4IsNotNull() {
+            addCriterion("rd_text4 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4EqualTo(String value) {
+            addCriterion("rd_text4 =", value, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4NotEqualTo(String value) {
+            addCriterion("rd_text4 <>", value, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4GreaterThan(String value) {
+            addCriterion("rd_text4 >", value, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4GreaterThanOrEqualTo(String value) {
+            addCriterion("rd_text4 >=", value, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4LessThan(String value) {
+            addCriterion("rd_text4 <", value, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4LessThanOrEqualTo(String value) {
+            addCriterion("rd_text4 <=", value, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4Like(String value) {
+            addCriterion("rd_text4 like", value, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4NotLike(String value) {
+            addCriterion("rd_text4 not like", value, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4In(List<String> values) {
+            addCriterion("rd_text4 in", values, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4NotIn(List<String> values) {
+            addCriterion("rd_text4 not in", values, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4Between(String value1, String value2) {
+            addCriterion("rd_text4 between", value1, value2, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text4NotBetween(String value1, String value2) {
+            addCriterion("rd_text4 not between", value1, value2, "rd_text4");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5IsNull() {
+            addCriterion("rd_text5 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5IsNotNull() {
+            addCriterion("rd_text5 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5EqualTo(String value) {
+            addCriterion("rd_text5 =", value, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5NotEqualTo(String value) {
+            addCriterion("rd_text5 <>", value, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5GreaterThan(String value) {
+            addCriterion("rd_text5 >", value, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5GreaterThanOrEqualTo(String value) {
+            addCriterion("rd_text5 >=", value, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5LessThan(String value) {
+            addCriterion("rd_text5 <", value, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5LessThanOrEqualTo(String value) {
+            addCriterion("rd_text5 <=", value, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5Like(String value) {
+            addCriterion("rd_text5 like", value, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5NotLike(String value) {
+            addCriterion("rd_text5 not like", value, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5In(List<String> values) {
+            addCriterion("rd_text5 in", values, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5NotIn(List<String> values) {
+            addCriterion("rd_text5 not in", values, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5Between(String value1, String value2) {
+            addCriterion("rd_text5 between", value1, value2, "rd_text5");
+            return (Criteria) this;
+        }
+
+        public Criteria andRd_text5NotBetween(String value1, String value2) {
+            addCriterion("rd_text5 not between", value1, value2, "rd_text5");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 4 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/service/BanksubledgerService.java

@@ -1,4 +1,8 @@
 package com.usoftchina.saas.money.service;
 
+/**
+ * @author hx
+ * @createtime 2018-10-19 15:59
+ */
 public interface BanksubledgerService {
 }

+ 4 - 0
applications/money/money-server/src/main/java/com/usoftchina/saas/money/service/impl/BanksubledgerServiceImpl.java

@@ -2,5 +2,9 @@ package com.usoftchina.saas.money.service.impl;
 
 import com.usoftchina.saas.money.service.BanksubledgerService;
 
+/**
+ * @author hx
+ * @createtime 2018-10-19 16:00
+ */
 public class BanksubledgerServiceImpl implements BanksubledgerService {
 }

+ 1116 - 0
applications/money/money-server/src/main/resources/mapper/PaybalanceMapper.xml

@@ -0,0 +1,1116 @@
+<?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.usoftchina.saas.money.mapper.PaybalanceMapper">
+  <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>
+  <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>

+ 1116 - 0
applications/money/money-server/src/main/resources/mapper/RecbalanceMapper.xml

@@ -0,0 +1,1116 @@
+<?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.usoftchina.saas.money.mapper.RecbalanceMapper">
+  <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>
+  <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>

+ 862 - 0
applications/money/money-server/src/main/resources/mapper/RecbalancedetMapper.xml

@@ -0,0 +1,862 @@
+<?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.usoftchina.saas.money.mapper.RecbalancedetMapper">
+  <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>
+  <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>

+ 13 - 0
applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/controller/ProdInOutController.java

@@ -122,6 +122,19 @@ public class ProdInOutController {
         return Result.success();
     }
 
+    /**
+     * 出入库单批量反审核
+     *
+     * @param baseDTOs
+     * @return
+     */
+    @PostMapping("/batchUnAudit")
+    public Result batchUnAudit(@RequestBody BatchDealBaseDTO baseDTOs) {
+        prodInOutService.batchAudit(baseDTOs);
+        return Result.success();
+    }
+
+
     /**
      * 出入库单批量删除
      *

+ 1 - 1
applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/po/ProdIODetail.java

@@ -73,7 +73,7 @@ public class ProdIODetail extends CommonBaseEntity implements Serializable {
 
     private Integer pd_ym;
 
-    private Double pd_yqty;
+    private Integer pd_yqty;
 
     private String pd_remark;
 

+ 1 - 1
applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/po/ProdInOutList.java

@@ -132,7 +132,7 @@ public class ProdInOutList extends CommonBaseEntity{
 
     private Integer pd_ym;
 
-    private Double pd_yqty;
+    private Integer pd_yqty;
 
     private String pd_remark;
 

+ 45 - 17
applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/service/impl/ProdInOutServiceImpl.java

@@ -16,20 +16,14 @@ import com.usoftchina.saas.purchase.dto.ProdInOutDTO;
 import com.usoftchina.saas.purchase.dto.ProdInOutFormDTO;
 import com.usoftchina.saas.purchase.dto.ProdInOutReqDTO;
 import com.usoftchina.saas.purchase.mapper.*;
-import com.usoftchina.saas.purchase.po.ProdIODetail;
-import com.usoftchina.saas.purchase.po.ProdIODetailExample;
-import com.usoftchina.saas.purchase.po.ProdInOut;
-import com.usoftchina.saas.purchase.po.ProdInOutList;
+import com.usoftchina.saas.purchase.po.*;
 import com.usoftchina.saas.purchase.service.ProdInOutService;
 import com.usoftchina.saas.utils.BeanMapper;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.util.StringUtils;
 
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
 
 /**
  * Created by zdw
@@ -285,7 +279,6 @@ public class ProdInOutServiceImpl extends CommonBaseServiceImpl<ProdInOutMapper,
     public Result turnProdOut(Long id) {
         ProdInOut sourcePi = getMapper().selectByPrimaryKey(id);
 
-
         Integer count=0;
         double pdInqty=0, pdYqty=0;
 
@@ -309,14 +302,49 @@ public class ProdInOutServiceImpl extends CommonBaseServiceImpl<ProdInOutMapper,
         //插入验退单主表
         ProdInOut targetPi = new ProdInOut();
         //生成单号
-//        String
-        
-        
-        
-
-
-
-        return null;
+        String piInoutno = "YT0001";
+        targetPi.setPi_inoutno(piInoutno);
+        targetPi.setPi_class("采购验退单");
+        targetPi.setPi_recorddate(new Date());
+        targetPi.setPi_vendcode(sourcePi.getPi_vendcode());
+        targetPi.setPi_vendname(sourcePi.getPi_vendname());
+        targetPi.setPi_puid(sourcePi.getId().intValue());
+        targetPi.setPi_pucode(sourcePi.getPi_pucode());
+        //设置公司id
+        targetPi.setCompanyId(sourcePi.getCompanyId());
+        //保存数据
+        getMapper().insertSelective(targetPi);
+        //插入验退单从表
+        long pi_id = sourcePi.getId();
+
+         for (int i = 0;i<sourcePids.size();i++){
+             ProdIODetail sourcePid = sourcePids.get(i);
+             ProdIODetail targetPid = new ProdIODetail();
+             targetPid.setPd_piid(pi_id);
+             targetPid.setPd_inoutno(piInoutno);
+             targetPid.setPd_piclass("采购验退单");
+             targetPid.setPd_pdno(i);
+             targetPid.setPd_orderid(sourcePid.getPd_orderid());
+             targetPid.setPd_ordercode(sourcePid.getPd_ordercode());
+             targetPid.setPd_orderdetno(sourcePid.getPd_orderdetno());
+             targetPid.setPd_orderprice(sourcePid.getPd_orderprice());
+             targetPid.setPd_prodid(sourcePid.getPd_prodid());
+             targetPid.setPd_prodcode(sourcePid.getPd_prodcode());
+             //公司id
+             targetPid.setCompanyId(sourcePid.getCompanyId());
+
+             //本次转单数
+             targetPid.setPd_outqty(sourcePid.getPd_inqty()-sourcePid.getPd_yqty());
+             prodIODetailMapper.insertSelective(targetPid);
+
+             //更新已转数
+             sourcePid.setPd_yqty(sourcePid.getPd_inqty());
+
+             prodIODetailMapper.updateByPrimaryKeySelective(sourcePid);
+
+         }
+
+        return Result.success();
     }
 
 }

+ 1 - 1
applications/purchase/purchase-server/src/main/java/com/usoftchina/saas/purchase/service/impl/PurchaseServiceImpl.java

@@ -342,7 +342,7 @@ public class PurchaseServiceImpl extends CommonBaseServiceImpl<PurchaseMapper, P
             prodIODetail.setPd_prodid(purchaseDetail.getPd_prodid());
             prodIODetail.setPd_prodcode(purchaseDetail.getPd_prodcode());
             //公司id
-            prodIODetail.setCompanyId(1);
+            prodIODetail.setCompanyId(purchaseDetail.getCompanyId());
 
             //本次转单数
             prodIODetail.setPd_inqty((int) (purchaseDetail.getPd_qty()-purchaseDetail.getPd_yqty()));

+ 9 - 9
applications/purchase/purchase-server/src/main/resources/mapper/ProdIODetailMapper.xml

@@ -39,7 +39,7 @@
     <result column="pd_text4" jdbcType="VARCHAR" property="pd_text4" />
     <result column="pd_text5" jdbcType="VARCHAR" property="pd_text5" />
     <result column="pd_ym" jdbcType="INTEGER" property="pd_ym" />
-    <result column="pd_yqty" jdbcType="DOUBLE" property="pd_yqty" />
+    <result column="pd_yqty" jdbcType="INTEGER" property="pd_yqty" />
   </resultMap>
   <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.usoftchina.saas.purchase.po.ProdIODetail">
     <result column="pd_remark" jdbcType="LONGVARCHAR" property="pd_remark" />
@@ -187,7 +187,7 @@
       #{pd_status,jdbcType=INTEGER}, #{companyid,jdbcType=INTEGER}, #{updaterid,jdbcType=INTEGER}, 
       #{updatetime,jdbcType=TIMESTAMP}, #{pd_text1,jdbcType=VARCHAR}, #{pd_text2,jdbcType=VARCHAR}, 
       #{pd_text3,jdbcType=VARCHAR}, #{pd_text4,jdbcType=VARCHAR}, #{pd_text5,jdbcType=VARCHAR}, 
-      #{pd_ym,jdbcType=INTEGER}, #{pd_yqty,jdbcType=DOUBLE}, #{pd_remark,jdbcType=LONGVARCHAR}
+      #{pd_ym,jdbcType=INTEGER}, #{pd_yqty,jdbcType=INTEGER}, #{pd_remark,jdbcType=LONGVARCHAR}
       )
   </insert>
   <insert id="insertSelective" parameterType="com.usoftchina.saas.purchase.po.ProdIODetail">
@@ -423,7 +423,7 @@
         #{pd_ym,jdbcType=INTEGER},
       </if>
       <if test="pd_yqty != null">
-        #{pd_yqty,jdbcType=DOUBLE},
+        #{pd_yqty,jdbcType=INTEGER},
       </if>
       <if test="pd_remark != null">
         #{pd_remark,jdbcType=LONGVARCHAR},
@@ -551,7 +551,7 @@
         pd_ym = #{record.pd_ym,jdbcType=INTEGER},
       </if>
       <if test="record.pd_yqty != null">
-        pd_yqty = #{record.pd_yqty,jdbcType=DOUBLE},
+        pd_yqty = #{record.pd_yqty,jdbcType=INTEGER},
       </if>
       <if test="record.pd_remark != null">
         pd_remark = #{record.pd_remark,jdbcType=LONGVARCHAR},
@@ -600,7 +600,7 @@
       pd_text4 = #{record.pd_text4,jdbcType=VARCHAR},
       pd_text5 = #{record.pd_text5,jdbcType=VARCHAR},
       pd_ym = #{record.pd_ym,jdbcType=INTEGER},
-      pd_yqty = #{record.pd_yqty,jdbcType=DOUBLE},
+      pd_yqty = #{record.pd_yqty,jdbcType=INTEGER},
       pd_remark = #{record.pd_remark,jdbcType=LONGVARCHAR}
     <if test="_parameter != null">
       <include refid="Update_By_Example_Where_Clause" />
@@ -645,7 +645,7 @@
       pd_text4 = #{record.pd_text4,jdbcType=VARCHAR},
       pd_text5 = #{record.pd_text5,jdbcType=VARCHAR},
       pd_ym = #{record.pd_ym,jdbcType=INTEGER},
-      pd_yqty = #{record.pd_yqty,jdbcType=DOUBLE}
+      pd_yqty = #{record.pd_yqty,jdbcType=INTEGER}
     <if test="_parameter != null">
       <include refid="Update_By_Example_Where_Clause" />
     </if>
@@ -762,7 +762,7 @@
         pd_ym = #{pd_ym,jdbcType=INTEGER},
       </if>
       <if test="pd_yqty != null">
-        pd_yqty = #{pd_yqty,jdbcType=DOUBLE},
+        pd_yqty = #{pd_yqty,jdbcType=INTEGER},
       </if>
       <if test="pd_remark != null">
         pd_remark = #{pd_remark,jdbcType=LONGVARCHAR},
@@ -808,7 +808,7 @@
       pd_text4 = #{pd_text4,jdbcType=VARCHAR},
       pd_text5 = #{pd_text5,jdbcType=VARCHAR},
       pd_ym = #{pd_ym,jdbcType=INTEGER},
-      pd_yqty = #{pd_yqty,jdbcType=DOUBLE},
+      pd_yqty = #{pd_yqty,jdbcType=INTEGER},
       pd_remark = #{pd_remark,jdbcType=LONGVARCHAR}
     where pd_id = #{pd_id,jdbcType=INTEGER}
   </update>
@@ -850,7 +850,7 @@
       pd_text4 = #{pd_text4,jdbcType=VARCHAR},
       pd_text5 = #{pd_text5,jdbcType=VARCHAR},
       pd_ym = #{pd_ym,jdbcType=INTEGER},
-      pd_yqty = #{pd_yqty,jdbcType=DOUBLE}
+      pd_yqty = #{pd_yqty,jdbcType=INTEGER}
     where pd_id = #{pd_id,jdbcType=INTEGER}
   </update>
 

+ 1 - 1
applications/purchase/purchase-server/src/main/resources/mapper/ProdInOutListMapper.xml

@@ -60,7 +60,7 @@
     <result column="pd_text4" jdbcType="VARCHAR" property="pd_text4" />
     <result column="pd_text5" jdbcType="VARCHAR" property="pd_text5" />
     <result column="pd_ym" jdbcType="INTEGER" property="pd_ym" />
-    <result column="pd_yqty" jdbcType="DOUBLE" property="pd_yqty" />
+    <result column="pd_yqty" jdbcType="INTEGER" property="pd_yqty" />
   </resultMap>
 
 

+ 2 - 2
applications/purchase/purchase-server/src/main/resources/mapper/PurchaseMapper.xml

@@ -413,10 +413,10 @@
     </if>
   </where>
   </select>
-  <select id="validateCodeWhenInsert" resultMap="int" parameterType="string" >
+  <select id="validateCodeWhenInsert" resultType="int" parameterType="string" >
     select count(1) from purchase where pu_code = #{code}
   </select>
-  <select id="validateCodeWhenUpdate" resultMap="int" >
+  <select id="validateCodeWhenUpdate" resultType="int" >
     select count(1) from purchase where pu_code = #{0} and pu_id != #{1}
   </select>
 </mapper>