修改了对应新增数据的结构

This commit is contained in:
chenze 2024-10-08 15:47:50 +08:00
parent 8b8f9a33c6
commit 77e10b49de

View File

@ -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 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
left join tb_staff_customer tsc on cs.id = tsc.staff_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="toCustomer != null and toCustomer!=''">,</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 prefix="values (" suffix=")" suffixOverrides=",">
<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="toCustomerId != null and toCustomerId!=''">#{toCustomerId}</if>
<if test="dataType != null dataType!=''">#{dataType}</if>
<if test="roomRole != null roomRole!=''">#{roomRole}</if>
<if test="roomRoleType != null roomRoleType!=''">#{roomRoleType}</if>
</trim>
</insert>