修改客户维护省市区三级联动
This commit is contained in:
		| @@ -95,6 +95,18 @@ public class ByCustomer extends BaseEntity { | |||||||
|     //@Excel(name = "所在市编号") |     //@Excel(name = "所在市编号") | ||||||
|     private String shiid; |     private String shiid; | ||||||
|  |  | ||||||
|  |     /** | ||||||
|  |      * 所在区县名称 | ||||||
|  |      */ | ||||||
|  |     //@Excel(name = "所在区县") | ||||||
|  |     private String quxian; | ||||||
|  |  | ||||||
|  |     /** | ||||||
|  |      * 所在区县编号 | ||||||
|  |      */ | ||||||
|  |     //@Excel(name = "所在区县编号") | ||||||
|  |     private String quxianid; | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * 客户来源 |      * 客户来源 | ||||||
|      */ |      */ | ||||||
| @@ -328,6 +340,8 @@ public class ByCustomer extends BaseEntity { | |||||||
|                 .append("rs", getRs()) |                 .append("rs", getRs()) | ||||||
|                 .append("sheng", getSheng()) |                 .append("sheng", getSheng()) | ||||||
|                 .append("shengid", getShengid()) |                 .append("shengid", getShengid()) | ||||||
|  |                 .append("quxian", getQuxian()) | ||||||
|  |                 .append("quxianid", getQuxianid()) | ||||||
|                 .append("shi", getShi()) |                 .append("shi", getShi()) | ||||||
|                 .append("shiid", getShiid()) |                 .append("shiid", getShiid()) | ||||||
|                 .append("khly", getKhly()) |                 .append("khly", getKhly()) | ||||||
| @@ -367,4 +381,20 @@ public class ByCustomer extends BaseEntity { | |||||||
|     public void setFpid(Long fpid) { |     public void setFpid(Long fpid) { | ||||||
|         this.fpid = fpid; |         this.fpid = fpid; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     public String getQuxian() { | ||||||
|  |         return quxian; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setQuxian(String quxian) { | ||||||
|  |         this.quxian = quxian; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getQuxianid() { | ||||||
|  |         return quxianid; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setQuxianid(String quxianid) { | ||||||
|  |         this.quxianid = quxianid; | ||||||
|  |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -18,6 +18,8 @@ | |||||||
|         <result property="shengid" column="shengid"/> |         <result property="shengid" column="shengid"/> | ||||||
|         <result property="shi" column="shi"/> |         <result property="shi" column="shi"/> | ||||||
|         <result property="shiid" column="shiid"/> |         <result property="shiid" column="shiid"/> | ||||||
|  |         <result property="quxian" column="quxian"/> | ||||||
|  |         <result property="quxianid" column="quxianid"/> | ||||||
|         <result property="khly" column="khly"/> |         <result property="khly" column="khly"/> | ||||||
|         <result property="createUserid" column="create_userid"/> |         <result property="createUserid" column="create_userid"/> | ||||||
|         <result property="fpid" column="fpid"/> |         <result property="fpid" column="fpid"/> | ||||||
| @@ -31,7 +33,7 @@ | |||||||
|     </resultMap> |     </resultMap> | ||||||
|  |  | ||||||
|     <sql id="selectByCustomerVo"> |     <sql id="selectByCustomerVo"> | ||||||
|         select id, name, sflx, lxdh, wx, dy, qt, fpid, schoolname, rs, sheng, shengid, shi, shiid, khly, create_userid, bz, zhgj, state, xfxm, xfjz, gbtime, create_time from by_customer |         select id, name, sflx, lxdh, wx, dy, qt, fpid, schoolname, rs, sheng, shengid, shi, shiid,quxian, quxianid, khly, create_userid, bz, zhgj, state, xfxm, xfjz, gbtime, create_time from by_customer | ||||||
|     </sql> |     </sql> | ||||||
|  |  | ||||||
|     <select id="selectByCustomerList" parameterType="ByCustomer" resultMap="ByCustomerResult"> |     <select id="selectByCustomerList" parameterType="ByCustomer" resultMap="ByCustomerResult"> | ||||||
| @@ -49,6 +51,8 @@ | |||||||
|             <if test="shengid != null  and shengid != ''">and shengid = #{shengid}</if> |             <if test="shengid != null  and shengid != ''">and shengid = #{shengid}</if> | ||||||
|             <if test="shi != null  and shi != ''">and shi = #{shi}</if> |             <if test="shi != null  and shi != ''">and shi = #{shi}</if> | ||||||
|             <if test="shiid != null  and shiid != ''">and shiid = #{shiid}</if> |             <if test="shiid != null  and shiid != ''">and shiid = #{shiid}</if> | ||||||
|  |             <if test="quxian != null  and quxian != ''">and quxian = #{quxian}</if> | ||||||
|  |             <if test="quxianid != null  and quxianid != ''">and quxianid = #{quxianid}</if> | ||||||
|             <if test="khly != null  and khly != ''">and khly = #{khly}</if> |             <if test="khly != null  and khly != ''">and khly = #{khly}</if> | ||||||
|             <if test="createUserid != null ">and create_userid = #{createUserid} or fpid = #{createUserid}</if> |             <if test="createUserid != null ">and create_userid = #{createUserid} or fpid = #{createUserid}</if> | ||||||
|             <if test="fpid != null ">and fpid = #{fpid}</if> |             <if test="fpid != null ">and fpid = #{fpid}</if> | ||||||
| @@ -83,6 +87,8 @@ | |||||||
|             <if test="shengid != null  and shengid != ''">shengid,</if> |             <if test="shengid != null  and shengid != ''">shengid,</if> | ||||||
|             <if test="shi != null  and shi != ''">shi,</if> |             <if test="shi != null  and shi != ''">shi,</if> | ||||||
|             <if test="shiid != null  and shiid != ''">shiid,</if> |             <if test="shiid != null  and shiid != ''">shiid,</if> | ||||||
|  |             <if test="quxian != null  and quxian != ''">quxian,</if> | ||||||
|  |             <if test="quxianid != null  and quxianid != ''">quxianid,</if> | ||||||
|             <if test="khly != null  and khly != ''">khly,</if> |             <if test="khly != null  and khly != ''">khly,</if> | ||||||
|             <if test="createUserid != null ">create_userid,</if> |             <if test="createUserid != null ">create_userid,</if> | ||||||
|             <if test="fpid != null ">fpid,</if> |             <if test="fpid != null ">fpid,</if> | ||||||
| @@ -108,6 +114,8 @@ | |||||||
|             <if test="shengid != null  and shengid != ''">#{shengid},</if> |             <if test="shengid != null  and shengid != ''">#{shengid},</if> | ||||||
|             <if test="shi != null  and shi != ''">#{shi},</if> |             <if test="shi != null  and shi != ''">#{shi},</if> | ||||||
|             <if test="shiid != null  and shiid != ''">#{shiid},</if> |             <if test="shiid != null  and shiid != ''">#{shiid},</if> | ||||||
|  |             <if test="quxian != null  and quxian != ''">#{quxian},</if> | ||||||
|  |             <if test="quxianid != null  and quxianid != ''">#{quxianid},</if> | ||||||
|             <if test="khly != null  and khly != ''">#{khly},</if> |             <if test="khly != null  and khly != ''">#{khly},</if> | ||||||
|             <if test="createUserid != null ">#{createUserid},</if> |             <if test="createUserid != null ">#{createUserid},</if> | ||||||
|             <if test="fpid != null ">#{fpid},</if> |             <if test="fpid != null ">#{fpid},</if> | ||||||
| @@ -136,6 +144,8 @@ | |||||||
|             <if test="shengid != null  and shengid != ''">shengid = #{shengid},</if> |             <if test="shengid != null  and shengid != ''">shengid = #{shengid},</if> | ||||||
|             <if test="shi != null  and shi != ''">shi = #{shi},</if> |             <if test="shi != null  and shi != ''">shi = #{shi},</if> | ||||||
|             <if test="shiid != null  and shiid != ''">shiid = #{shiid},</if> |             <if test="shiid != null  and shiid != ''">shiid = #{shiid},</if> | ||||||
|  |             <if test="quxian != null  and quxian != ''">quxian = #{quxian},</if> | ||||||
|  |             <if test="quxianid != null  and quxianid != ''">quxianid = #{quxianid},</if> | ||||||
|             <if test="khly != null  and khly != ''">khly = #{khly},</if> |             <if test="khly != null  and khly != ''">khly = #{khly},</if> | ||||||
|             <if test="createUserid != null ">create_userid = #{createUserid},</if> |             <if test="createUserid != null ">create_userid = #{createUserid},</if> | ||||||
|             <if test="fpid != null ">fpid = #{fpid},</if> |             <if test="fpid != null ">fpid = #{fpid},</if> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user