md
This commit is contained in:
parent
0f540d6c2c
commit
031abf5589
@ -57,6 +57,8 @@ public class EmisCustomerUser extends BaseEntity
|
||||
private String userType;
|
||||
/* 所属公司 */
|
||||
private String company;
|
||||
/* 营业执照号,纳税人识别号 */
|
||||
private String licNo;
|
||||
/* 部门id */
|
||||
private String deptId;
|
||||
/* 头像url地址 */
|
||||
@ -102,24 +104,8 @@ public class EmisCustomerUser extends BaseEntity
|
||||
private String address;
|
||||
/* email */
|
||||
private String email;
|
||||
/* 寄件国 */
|
||||
private String sendCountry;
|
||||
/* 寄件省 */
|
||||
private String sendProvince;
|
||||
/* 寄件区 */
|
||||
private String sendCity;
|
||||
/* 寄件区 */
|
||||
private String sendCounty;
|
||||
/* 寄件镇 */
|
||||
private String sendTown;
|
||||
/* 寄件人 */
|
||||
private String sendPerson;
|
||||
/* 寄件电话 */
|
||||
private String sendPhone;
|
||||
/* 邮编 */
|
||||
private String postCode;
|
||||
/* 启用状态 1-启用 0-未启用 */
|
||||
private String status;
|
||||
/* 真实姓名 */
|
||||
private String realName;
|
||||
/* 身份证号 */
|
||||
@ -136,10 +122,12 @@ public class EmisCustomerUser extends BaseEntity
|
||||
private String blSms;
|
||||
/* 专属业务员 */
|
||||
private String opEmpCode;
|
||||
/* 排序 */
|
||||
private String orderNum;
|
||||
/* 首次签约 */
|
||||
private String firstSigningDay;
|
||||
/* 启用状态 1-启用 0-未启用 */
|
||||
private String status;
|
||||
/* 排序 */
|
||||
private String orderNum;
|
||||
|
||||
|
||||
//---------
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.xdadan.erp.emis.mapper.EmisCustomerUserMapper">
|
||||
|
||||
|
||||
<resultMap type="EmisCustomerUser" id="EmisCustomerUserResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="customerCode" column="customer_code" />
|
||||
@ -18,6 +17,7 @@
|
||||
<result property="settledType" column="settled_type" />
|
||||
<result property="userType" column="user_type" />
|
||||
<result property="company" column="company" />
|
||||
<result property="licNo" column="lic_no" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
<result property="avatar" column="avatar" />
|
||||
<result property="sex" column="sex" />
|
||||
@ -40,15 +40,7 @@
|
||||
<result property="town" column="town" />
|
||||
<result property="address" column="address" />
|
||||
<result property="email" column="email" />
|
||||
<result property="sendCountry" column="send_country" />
|
||||
<result property="sendProvince" column="send_province" />
|
||||
<result property="sendCity" column="send_city" />
|
||||
<result property="sendCounty" column="send_county" />
|
||||
<result property="sendTown" column="send_town" />
|
||||
<result property="sendPerson" column="send_person" />
|
||||
<result property="sendPhone" column="send_phone" />
|
||||
<result property="postCode" column="post_code" />
|
||||
<result property="status" column="status" />
|
||||
<result property="realName" column="real_name" />
|
||||
<result property="idNo" column="id_no" />
|
||||
<result property="payee" column="payee" />
|
||||
@ -57,8 +49,9 @@
|
||||
<result property="blOpenOms" column="bl_open_oms" />
|
||||
<result property="blSms" column="bl_sms" />
|
||||
<result property="opEmpCode" column="op_emp_code" />
|
||||
<result property="orderNum" column="order_num" />
|
||||
<result property="firstSigningDay" column="first_signing_day" />
|
||||
<result property="status" column="status" />
|
||||
<result property="orderNum" column="order_num" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
<result property="createBy" column="create_by" />
|
||||
@ -100,7 +93,7 @@
|
||||
</select>
|
||||
|
||||
<sql id="selectEmisCustomerUserVo">
|
||||
select id, customer_code, customer_name, customer_name_en, simple_name, contact, phone, mobile, customer_type, settled_type, user_type, company, dept_id, avatar, sex, invitation_info, login_ip, login_date, nick_name, union_id, openid, monthly_pay_code, user_name, password, owner_site, biz_site, biz_site_name, country, province, city, county, town, address, email, send_country, send_province, send_city, send_county, send_town, send_person, send_phone, post_code, status, real_name, id_no, payee, salesmen, data_from, bl_open_oms, bl_sms, op_emp_code, order_num, first_signing_day, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_customer_user
|
||||
select id, customer_code, customer_name, customer_name_en, simple_name, contact, phone, mobile, customer_type, settled_type, user_type, company, lic_no, dept_id, avatar, sex, invitation_info, login_ip, login_date, nick_name, union_id, openid, monthly_pay_code, user_name, password, owner_site, biz_site, biz_site_name, country, province, city, county, town, address, email, post_code, real_name, id_no, payee, salesmen, data_from, bl_open_oms, bl_sms, op_emp_code, first_signing_day, status, order_num, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_customer_user
|
||||
</sql>
|
||||
|
||||
<select id="selectEmisCustomerUserList" parameterType="EmisCustomerUser" resultMap="EmisCustomerUserResult">
|
||||
@ -173,7 +166,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectEmisCustomerUserById" parameterType="Long" resultMap="EmisCustomerUserResult">
|
||||
select id, customer_code, customer_name, customer_name_en, simple_name, contact, phone, mobile, customer_type, settled_type, user_type, company, dept_id, avatar, sex, invitation_info, login_ip, login_date, nick_name, union_id, openid, monthly_pay_code, user_name, password, owner_site, biz_site, biz_site_name, country, province, city, county, town, address, email, send_country, send_province, send_city, send_county, send_town, send_person, send_phone, post_code, status, real_name, id_no, payee, salesmen, data_from, bl_open_oms, bl_sms, op_emp_code, order_num, first_signing_day, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
select id, customer_code, customer_name, customer_name_en, simple_name, contact, phone, mobile, customer_type, settled_type, user_type, company, lic_no, dept_id, avatar, sex, invitation_info, login_ip, login_date, nick_name, union_id, openid, monthly_pay_code, user_name, password, owner_site, biz_site, biz_site_name, country, province, city, county, town, address, email, post_code, real_name, id_no, payee, salesmen, data_from, bl_open_oms, bl_sms, op_emp_code, first_signing_day, status, order_num, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
from emis_customer_user a
|
||||
where a.id = #{id}
|
||||
</select>
|
||||
@ -193,6 +186,7 @@
|
||||
<if test="settledType != null and settledType != ''">settled_type,</if>
|
||||
<if test="userType != null and userType != ''">user_type,</if>
|
||||
<if test="company != null and company != ''">company,</if>
|
||||
<if test="licNo != null and licNo != ''">lic_no,</if>
|
||||
<if test="deptId != null and deptId != ''">dept_id,</if>
|
||||
<if test="avatar != null and avatar != ''">avatar,</if>
|
||||
<if test="sex != null and sex != ''">sex,</if>
|
||||
@ -215,15 +209,7 @@
|
||||
<if test="town != null and town != ''">town,</if>
|
||||
<if test="address != null and address != ''">address,</if>
|
||||
<if test="email != null and email != ''">email,</if>
|
||||
<if test="sendCountry != null and sendCountry != ''">send_country,</if>
|
||||
<if test="sendProvince != null and sendProvince != ''">send_province,</if>
|
||||
<if test="sendCity != null and sendCity != ''">send_city,</if>
|
||||
<if test="sendCounty != null and sendCounty != ''">send_county,</if>
|
||||
<if test="sendTown != null and sendTown != ''">send_town,</if>
|
||||
<if test="sendPerson != null and sendPerson != ''">send_person,</if>
|
||||
<if test="sendPhone != null and sendPhone != ''">send_phone,</if>
|
||||
<if test="postCode != null and postCode != ''">post_code,</if>
|
||||
<if test="status != null and status != ''">status,</if>
|
||||
<if test="realName != null and realName != ''">real_name,</if>
|
||||
<if test="idNo != null and idNo != ''">id_no,</if>
|
||||
<if test="payee != null and payee != ''">payee,</if>
|
||||
@ -232,8 +218,9 @@
|
||||
<if test="blOpenOms != null and blOpenOms != ''">bl_open_oms,</if>
|
||||
<if test="blSms != null and blSms != ''">bl_sms,</if>
|
||||
<if test="opEmpCode != null and opEmpCode != ''">op_emp_code,</if>
|
||||
<if test="orderNum != null and orderNum != ''">order_num,</if>
|
||||
<if test="firstSigningDay != null and firstSigningDay != ''">first_signing_day,</if>
|
||||
<if test="status != null and status != ''">status,</if>
|
||||
<if test="orderNum != null and orderNum != ''">order_num,</if>
|
||||
<if test="remark != null and remark != ''">remark,</if>
|
||||
<if test="delFlag != null and delFlag != ''">del_flag,</if>
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
@ -256,6 +243,7 @@
|
||||
<if test="settledType != null and settledType != ''">#{settledType},</if>
|
||||
<if test="userType != null and userType != ''">#{userType},</if>
|
||||
<if test="company != null and company != ''">#{company},</if>
|
||||
<if test="licNo != null and licNo != ''">#{licNo},</if>
|
||||
<if test="deptId != null and deptId != ''">#{deptId},</if>
|
||||
<if test="avatar != null and avatar != ''">#{avatar},</if>
|
||||
<if test="sex != null and sex != ''">#{sex},</if>
|
||||
@ -278,15 +266,7 @@
|
||||
<if test="town != null and town != ''">#{town},</if>
|
||||
<if test="address != null and address != ''">#{address},</if>
|
||||
<if test="email != null and email != ''">#{email},</if>
|
||||
<if test="sendCountry != null and sendCountry != ''">#{sendCountry},</if>
|
||||
<if test="sendProvince != null and sendProvince != ''">#{sendProvince},</if>
|
||||
<if test="sendCity != null and sendCity != ''">#{sendCity},</if>
|
||||
<if test="sendCounty != null and sendCounty != ''">#{sendCounty},</if>
|
||||
<if test="sendTown != null and sendTown != ''">#{sendTown},</if>
|
||||
<if test="sendPerson != null and sendPerson != ''">#{sendPerson},</if>
|
||||
<if test="sendPhone != null and sendPhone != ''">#{sendPhone},</if>
|
||||
<if test="postCode != null and postCode != ''">#{postCode},</if>
|
||||
<if test="status != null and status != ''">#{status},</if>
|
||||
<if test="realName != null and realName != ''">#{realName},</if>
|
||||
<if test="idNo != null and idNo != ''">#{idNo},</if>
|
||||
<if test="payee != null and payee != ''">#{payee},</if>
|
||||
@ -295,8 +275,9 @@
|
||||
<if test="blOpenOms != null and blOpenOms != ''">#{blOpenOms},</if>
|
||||
<if test="blSms != null and blSms != ''">#{blSms},</if>
|
||||
<if test="opEmpCode != null and opEmpCode != ''">#{opEmpCode},</if>
|
||||
<if test="orderNum != null and orderNum != ''">#{orderNum},</if>
|
||||
<if test="firstSigningDay != null and firstSigningDay != ''">#{firstSigningDay},</if>
|
||||
<if test="status != null and status != ''">#{status},</if>
|
||||
<if test="orderNum != null and orderNum != ''">#{orderNum},</if>
|
||||
<if test="remark != null and remark != ''">#{remark},</if>
|
||||
<if test="delFlag != null and delFlag != ''">#{delFlag},</if>
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
@ -322,6 +303,7 @@
|
||||
<if test="settledType != null and settledType != ''">settled_type = #{settledType},</if>
|
||||
<if test="userType != null and userType != ''">user_type = #{userType},</if>
|
||||
<if test="company != null and company != ''">company = #{company},</if>
|
||||
<if test="licNo != null and licNo != ''">lic_no = #{licNo},</if>
|
||||
<if test="deptId != null and deptId != ''">dept_id = #{deptId},</if>
|
||||
<if test="avatar != null and avatar != ''">avatar = #{avatar},</if>
|
||||
<if test="sex != null and sex != ''">sex = #{sex},</if>
|
||||
@ -344,15 +326,7 @@
|
||||
<if test="town != null and town != ''">town = #{town},</if>
|
||||
<if test="address != null and address != ''">address = #{address},</if>
|
||||
<if test="email != null and email != ''">email = #{email},</if>
|
||||
<if test="sendCountry != null and sendCountry != ''">send_country = #{sendCountry},</if>
|
||||
<if test="sendProvince != null and sendProvince != ''">send_province = #{sendProvince},</if>
|
||||
<if test="sendCity != null and sendCity != ''">send_city = #{sendCity},</if>
|
||||
<if test="sendCounty != null and sendCounty != ''">send_county = #{sendCounty},</if>
|
||||
<if test="sendTown != null and sendTown != ''">send_town = #{sendTown},</if>
|
||||
<if test="sendPerson != null and sendPerson != ''">send_person = #{sendPerson},</if>
|
||||
<if test="sendPhone != null and sendPhone != ''">send_phone = #{sendPhone},</if>
|
||||
<if test="postCode != null and postCode != ''">post_code = #{postCode},</if>
|
||||
<if test="status != null and status != ''">status = #{status},</if>
|
||||
<if test="realName != null and realName != ''">real_name = #{realName},</if>
|
||||
<if test="idNo != null and idNo != ''">id_no = #{idNo},</if>
|
||||
<if test="payee != null and payee != ''">payee = #{payee},</if>
|
||||
@ -361,8 +335,9 @@
|
||||
<if test="blOpenOms != null and blOpenOms != ''">bl_open_oms = #{blOpenOms},</if>
|
||||
<if test="blSms != null and blSms != ''">bl_sms = #{blSms},</if>
|
||||
<if test="opEmpCode != null and opEmpCode != ''">op_emp_code = #{opEmpCode},</if>
|
||||
<if test="orderNum != null and orderNum != ''">order_num = #{orderNum},</if>
|
||||
<if test="firstSigningDay != null and firstSigningDay != ''">first_signing_day = #{firstSigningDay},</if>
|
||||
<if test="status != null and status != ''">status = #{status},</if>
|
||||
<if test="orderNum != null and orderNum != ''">order_num = #{orderNum},</if>
|
||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
||||
<if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
|
||||
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user