xubh 4 tahun lalu
induk
melakukan
5fce95a3d6

+ 97 - 0
src/main/java/com/minpay/db/table/mapper/VmPersonRoleInfMapper.java

@@ -0,0 +1,97 @@
+package com.minpay.db.table.mapper;
+
+import com.minpay.db.table.model.VmPersonRoleInf;
+import com.minpay.db.table.model.VmPersonRoleInfExample;
+import com.startup.minpay.frame.jdbc.IMINMybatisEntityMapper;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface VmPersonRoleInfMapper extends IMINMybatisEntityMapper<VmPersonRoleInf, String, VmPersonRoleInfExample> {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int countByExample(VmPersonRoleInfExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int deleteByExample(VmPersonRoleInfExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int deleteByPrimaryKey(String id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int insert(VmPersonRoleInf record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int insertSelective(VmPersonRoleInf record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    List<VmPersonRoleInf> selectByExample(VmPersonRoleInfExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    VmPersonRoleInf selectByPrimaryKey(String id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int updateByExampleSelective(@Param("record") VmPersonRoleInf record, @Param("example") VmPersonRoleInfExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int updateByExample(@Param("record") VmPersonRoleInf record, @Param("example") VmPersonRoleInfExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int updateByPrimaryKeySelective(VmPersonRoleInf record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    int updateByPrimaryKey(VmPersonRoleInf record);
+}

+ 165 - 0
src/main/java/com/minpay/db/table/model/VmPersonRoleInf.java

@@ -0,0 +1,165 @@
+package com.minpay.db.table.model;
+
+import com.startup.minpay.frame.data.AbstractMINBean;
+
+public class VmPersonRoleInf extends AbstractMINBean {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column vm_person_role_inf.VPR_ID
+     *
+     * @mbggenerated
+     */
+    private String id;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column vm_person_role_inf.VPR_BRANCH_ID
+     *
+     * @mbggenerated
+     */
+    private String branchId;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column vm_person_role_inf.VPR_ROLE
+     *
+     * @mbggenerated
+     */
+    private String role;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column vm_person_role_inf.VPR_PERSON_ID
+     *
+     * @mbggenerated
+     */
+    private String personId;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column vm_person_role_inf.VPR_STATE
+     *
+     * @mbggenerated
+     */
+    private String state;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column vm_person_role_inf.VPR_ID
+     *
+     * @return the value of vm_person_role_inf.VPR_ID
+     *
+     * @mbggenerated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column vm_person_role_inf.VPR_ID
+     *
+     * @param id the value for vm_person_role_inf.VPR_ID
+     *
+     * @mbggenerated
+     */
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column vm_person_role_inf.VPR_BRANCH_ID
+     *
+     * @return the value of vm_person_role_inf.VPR_BRANCH_ID
+     *
+     * @mbggenerated
+     */
+    public String getBranchId() {
+        return branchId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column vm_person_role_inf.VPR_BRANCH_ID
+     *
+     * @param branchId the value for vm_person_role_inf.VPR_BRANCH_ID
+     *
+     * @mbggenerated
+     */
+    public void setBranchId(String branchId) {
+        this.branchId = branchId == null ? null : branchId.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column vm_person_role_inf.VPR_ROLE
+     *
+     * @return the value of vm_person_role_inf.VPR_ROLE
+     *
+     * @mbggenerated
+     */
+    public String getRole() {
+        return role;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column vm_person_role_inf.VPR_ROLE
+     *
+     * @param role the value for vm_person_role_inf.VPR_ROLE
+     *
+     * @mbggenerated
+     */
+    public void setRole(String role) {
+        this.role = role == null ? null : role.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column vm_person_role_inf.VPR_PERSON_ID
+     *
+     * @return the value of vm_person_role_inf.VPR_PERSON_ID
+     *
+     * @mbggenerated
+     */
+    public String getPersonId() {
+        return personId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column vm_person_role_inf.VPR_PERSON_ID
+     *
+     * @param personId the value for vm_person_role_inf.VPR_PERSON_ID
+     *
+     * @mbggenerated
+     */
+    public void setPersonId(String personId) {
+        this.personId = personId == null ? null : personId.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column vm_person_role_inf.VPR_STATE
+     *
+     * @return the value of vm_person_role_inf.VPR_STATE
+     *
+     * @mbggenerated
+     */
+    public String getState() {
+        return state;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column vm_person_role_inf.VPR_STATE
+     *
+     * @param state the value for vm_person_role_inf.VPR_STATE
+     *
+     * @mbggenerated
+     */
+    public void setState(String state) {
+        this.state = state == null ? null : state.trim();
+    }
+}

+ 671 - 0
src/main/java/com/minpay/db/table/model/VmPersonRoleInfExample.java

@@ -0,0 +1,671 @@
+package com.minpay.db.table.model;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class VmPersonRoleInfExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public VmPersonRoleInfExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    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> 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 andIdIsNull() {
+            addCriterion("VPR_ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("VPR_ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            if(value == null ){
+                andIdIsNull();
+            } else {
+                addCriterion("VPR_ID =", value, "id");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            if(value == null ){
+                andIdIsNotNull();
+            } else {
+                addCriterion("VPR_ID <>", value, "id");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("VPR_ID >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("VPR_ID >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("VPR_ID <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("VPR_ID <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("VPR_ID like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("VPR_ID not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("VPR_ID in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("VPR_ID not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("VPR_ID between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("VPR_ID not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdIsNull() {
+            addCriterion("VPR_BRANCH_ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdIsNotNull() {
+            addCriterion("VPR_BRANCH_ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdEqualTo(String value) {
+            if(value == null ){
+                andBranchIdIsNull();
+            } else {
+                addCriterion("VPR_BRANCH_ID =", value, "branchId");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdNotEqualTo(String value) {
+            if(value == null ){
+                andBranchIdIsNotNull();
+            } else {
+                addCriterion("VPR_BRANCH_ID <>", value, "branchId");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdGreaterThan(String value) {
+            addCriterion("VPR_BRANCH_ID >", value, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdGreaterThanOrEqualTo(String value) {
+            addCriterion("VPR_BRANCH_ID >=", value, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdLessThan(String value) {
+            addCriterion("VPR_BRANCH_ID <", value, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdLessThanOrEqualTo(String value) {
+            addCriterion("VPR_BRANCH_ID <=", value, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdLike(String value) {
+            addCriterion("VPR_BRANCH_ID like", value, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdNotLike(String value) {
+            addCriterion("VPR_BRANCH_ID not like", value, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdIn(List<String> values) {
+            addCriterion("VPR_BRANCH_ID in", values, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdNotIn(List<String> values) {
+            addCriterion("VPR_BRANCH_ID not in", values, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdBetween(String value1, String value2) {
+            addCriterion("VPR_BRANCH_ID between", value1, value2, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andBranchIdNotBetween(String value1, String value2) {
+            addCriterion("VPR_BRANCH_ID not between", value1, value2, "branchId");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleIsNull() {
+            addCriterion("VPR_ROLE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleIsNotNull() {
+            addCriterion("VPR_ROLE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleEqualTo(String value) {
+            if(value == null ){
+                andRoleIsNull();
+            } else {
+                addCriterion("VPR_ROLE =", value, "role");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleNotEqualTo(String value) {
+            if(value == null ){
+                andRoleIsNotNull();
+            } else {
+                addCriterion("VPR_ROLE <>", value, "role");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleGreaterThan(String value) {
+            addCriterion("VPR_ROLE >", value, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleGreaterThanOrEqualTo(String value) {
+            addCriterion("VPR_ROLE >=", value, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleLessThan(String value) {
+            addCriterion("VPR_ROLE <", value, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleLessThanOrEqualTo(String value) {
+            addCriterion("VPR_ROLE <=", value, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleLike(String value) {
+            addCriterion("VPR_ROLE like", value, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleNotLike(String value) {
+            addCriterion("VPR_ROLE not like", value, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleIn(List<String> values) {
+            addCriterion("VPR_ROLE in", values, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleNotIn(List<String> values) {
+            addCriterion("VPR_ROLE not in", values, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleBetween(String value1, String value2) {
+            addCriterion("VPR_ROLE between", value1, value2, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andRoleNotBetween(String value1, String value2) {
+            addCriterion("VPR_ROLE not between", value1, value2, "role");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdIsNull() {
+            addCriterion("VPR_PERSON_ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdIsNotNull() {
+            addCriterion("VPR_PERSON_ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdEqualTo(String value) {
+            if(value == null ){
+                andPersonIdIsNull();
+            } else {
+                addCriterion("VPR_PERSON_ID =", value, "personId");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdNotEqualTo(String value) {
+            if(value == null ){
+                andPersonIdIsNotNull();
+            } else {
+                addCriterion("VPR_PERSON_ID <>", value, "personId");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdGreaterThan(String value) {
+            addCriterion("VPR_PERSON_ID >", value, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdGreaterThanOrEqualTo(String value) {
+            addCriterion("VPR_PERSON_ID >=", value, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdLessThan(String value) {
+            addCriterion("VPR_PERSON_ID <", value, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdLessThanOrEqualTo(String value) {
+            addCriterion("VPR_PERSON_ID <=", value, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdLike(String value) {
+            addCriterion("VPR_PERSON_ID like", value, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdNotLike(String value) {
+            addCriterion("VPR_PERSON_ID not like", value, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdIn(List<String> values) {
+            addCriterion("VPR_PERSON_ID in", values, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdNotIn(List<String> values) {
+            addCriterion("VPR_PERSON_ID not in", values, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdBetween(String value1, String value2) {
+            addCriterion("VPR_PERSON_ID between", value1, value2, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonIdNotBetween(String value1, String value2) {
+            addCriterion("VPR_PERSON_ID not between", value1, value2, "personId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateIsNull() {
+            addCriterion("VPR_STATE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateIsNotNull() {
+            addCriterion("VPR_STATE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateEqualTo(String value) {
+            if(value == null ){
+                andStateIsNull();
+            } else {
+                addCriterion("VPR_STATE =", value, "state");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andStateNotEqualTo(String value) {
+            if(value == null ){
+                andStateIsNotNull();
+            } else {
+                addCriterion("VPR_STATE <>", value, "state");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andStateGreaterThan(String value) {
+            addCriterion("VPR_STATE >", value, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateGreaterThanOrEqualTo(String value) {
+            addCriterion("VPR_STATE >=", value, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateLessThan(String value) {
+            addCriterion("VPR_STATE <", value, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateLessThanOrEqualTo(String value) {
+            addCriterion("VPR_STATE <=", value, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateLike(String value) {
+            addCriterion("VPR_STATE like", value, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateNotLike(String value) {
+            addCriterion("VPR_STATE not like", value, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateIn(List<String> values) {
+            addCriterion("VPR_STATE in", values, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateNotIn(List<String> values) {
+            addCriterion("VPR_STATE not in", values, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateBetween(String value1, String value2) {
+            addCriterion("VPR_STATE between", value1, value2, "state");
+            return (Criteria) this;
+        }
+
+        public Criteria andStateNotBetween(String value1, String value2) {
+            addCriterion("VPR_STATE not between", value1, value2, "state");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table vm_person_role_inf
+     *
+     * @mbggenerated
+     */
+    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;
+
+        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;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.betweenValue = true;
+        }
+    }
+}

+ 271 - 0
src/main/resources/com/minpay/db/table/mapper/VmPersonRoleInfMapper.xml

@@ -0,0 +1,271 @@
+<?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.minpay.db.table.mapper.VmPersonRoleInfMapper">
+  <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmPersonRoleInf">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="VPR_ID" jdbcType="VARCHAR" property="id" />
+    <result column="VPR_BRANCH_ID" jdbcType="VARCHAR" property="branchId" />
+    <result column="VPR_ROLE" jdbcType="VARCHAR" property="role" />
+    <result column="VPR_PERSON_ID" jdbcType="VARCHAR" property="personId" />
+    <result column="VPR_STATE" jdbcType="VARCHAR" property="state" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    VPR_ID, VPR_BRANCH_ID, VPR_ROLE, VPR_PERSON_ID, VPR_STATE
+  </sql>
+  <select id="selectByExample" parameterType="com.minpay.db.table.model.VmPersonRoleInfExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from vm_person_role_inf
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from vm_person_role_inf
+    where VPR_ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from vm_person_role_inf
+    where VPR_ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmPersonRoleInfExample">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from vm_person_role_inf
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.minpay.db.table.model.VmPersonRoleInf">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into vm_person_role_inf (VPR_ID, VPR_BRANCH_ID, VPR_ROLE, 
+      VPR_PERSON_ID, VPR_STATE)
+    values (#{id,jdbcType=VARCHAR}, #{branchId,jdbcType=VARCHAR}, #{role,jdbcType=VARCHAR}, 
+      #{personId,jdbcType=VARCHAR}, #{state,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmPersonRoleInf">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into vm_person_role_inf
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        VPR_ID,
+      </if>
+      <if test="branchId != null">
+        VPR_BRANCH_ID,
+      </if>
+      <if test="role != null">
+        VPR_ROLE,
+      </if>
+      <if test="personId != null">
+        VPR_PERSON_ID,
+      </if>
+      <if test="state != null">
+        VPR_STATE,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="branchId != null">
+        #{branchId,jdbcType=VARCHAR},
+      </if>
+      <if test="role != null">
+        #{role,jdbcType=VARCHAR},
+      </if>
+      <if test="personId != null">
+        #{personId,jdbcType=VARCHAR},
+      </if>
+      <if test="state != null">
+        #{state,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.minpay.db.table.model.VmPersonRoleInfExample" resultType="java.lang.Integer">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from vm_person_role_inf
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update vm_person_role_inf
+    <set>
+      <if test="record.id != null">
+        VPR_ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.branchId != null">
+        VPR_BRANCH_ID = #{record.branchId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.role != null">
+        VPR_ROLE = #{record.role,jdbcType=VARCHAR},
+      </if>
+      <if test="record.personId != null">
+        VPR_PERSON_ID = #{record.personId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.state != null">
+        VPR_STATE = #{record.state,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update vm_person_role_inf
+    set VPR_ID = #{record.id,jdbcType=VARCHAR},
+      VPR_BRANCH_ID = #{record.branchId,jdbcType=VARCHAR},
+      VPR_ROLE = #{record.role,jdbcType=VARCHAR},
+      VPR_PERSON_ID = #{record.personId,jdbcType=VARCHAR},
+      VPR_STATE = #{record.state,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmPersonRoleInf">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update vm_person_role_inf
+    <set>
+      <if test="branchId != null">
+        VPR_BRANCH_ID = #{branchId,jdbcType=VARCHAR},
+      </if>
+      <if test="role != null">
+        VPR_ROLE = #{role,jdbcType=VARCHAR},
+      </if>
+      <if test="personId != null">
+        VPR_PERSON_ID = #{personId,jdbcType=VARCHAR},
+      </if>
+      <if test="state != null">
+        VPR_STATE = #{state,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where VPR_ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmPersonRoleInf">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update vm_person_role_inf
+    set VPR_BRANCH_ID = #{branchId,jdbcType=VARCHAR},
+      VPR_ROLE = #{role,jdbcType=VARCHAR},
+      VPR_PERSON_ID = #{personId,jdbcType=VARCHAR},
+      VPR_STATE = #{state,jdbcType=VARCHAR}
+    where VPR_ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>