mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-21 17:09:36 +08:00
修改了对应新增数据的结构
This commit is contained in:
parent
8b8f9a33c6
commit
77e10b49de
@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<select id="selectIcsCustomerStaffList" parameterType="com.ics.common.core.domain.IcsCustomerStaff" resultMap="IcsCustomerStaffResult">
|
<select id="selectIcsCustomerStaffList" parameterType="com.ics.common.core.domain.IcsCustomerStaff" resultMap="IcsCustomerStaffResult">
|
||||||
SELECT cs.id, cs.username, cs.mobile, cs.create_by, cs.create_time, cs.update_by,cs.name,cs.photo,cs.address,cs.email,cs.degree,cs.urgent,cs.update_time,
|
SELECT cs.id, cs.username, cs.mobile, cs.create_by, cs.create_time, cs.update_by,cs.name,cs.photo,cs.address,cs.email,cs.degree,cs.urgent,cs.update_time,
|
||||||
cs.delete_flag, cs.ics_customer_id, cs.openid, cs.avatar, cs.gender, cs.status, cs.park_id,cs.card_no,cs.data_type
|
cs.delete_flag, cs.ics_customer_id, cs.openid, cs.avatar, cs.gender, cs.status, cs.park_id,cs.card_no,cs.data_type,cs.room_role,cs.room_role_type
|
||||||
FROM ics_customer_staff cs
|
FROM ics_customer_staff cs
|
||||||
left join tb_staff_customer tsc on cs.id = tsc.staff_id
|
left join tb_staff_customer tsc on cs.id = tsc.staff_id
|
||||||
left join ics_customer icc on tsc.ics_customer_id = icc.id
|
left join ics_customer icc on tsc.ics_customer_id = icc.id
|
||||||
@ -106,7 +106,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="toPhone != null and toPhone!=''">,</if>
|
<if test="toPhone != null and toPhone!=''">,</if>
|
||||||
<if test="toCustomer != null and toCustomer!=''">,</if>
|
<if test="toCustomer != null and toCustomer!=''">,</if>
|
||||||
<if test="toCustomerId != null and toCustomerId!=''">,</if>
|
<if test="toCustomerId != null and toCustomerId!=''">,</if>
|
||||||
<if test="dataType != null dataType!=''">,</if>
|
<if test="dataType != null dataType!=''">data_type,</if>
|
||||||
|
<if test="roomRole != null roomRole!=''">room_role,</if>
|
||||||
|
<if test="roomRoleType != null roomRoleType!=''">room_role_type,</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null ">#{id},</if>
|
<if test="id != null ">#{id},</if>
|
||||||
@ -142,6 +144,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="toCustomer != null and toCustomer!=''">#{toCustomer}</if>
|
<if test="toCustomer != null and toCustomer!=''">#{toCustomer}</if>
|
||||||
<if test="toCustomerId != null and toCustomerId!=''">#{toCustomerId}</if>
|
<if test="toCustomerId != null and toCustomerId!=''">#{toCustomerId}</if>
|
||||||
<if test="dataType != null dataType!=''">#{dataType}</if>
|
<if test="dataType != null dataType!=''">#{dataType}</if>
|
||||||
|
<if test="roomRole != null roomRole!=''">#{roomRole}</if>
|
||||||
|
<if test="roomRoleType != null roomRoleType!=''">#{roomRoleType}</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user