| | |
| | | <result property="reply" column="reply"/> |
| | | <result property="overtimeNotice" column="overtime_notice"/> |
| | | <result property="cashierId" column="cashier_id"/> |
| | | <result property="signPic" column="sign_pic"/> |
| | | <result property="cashierName" column="cashierName"/> |
| | | |
| | | |
| | |
| | | <if test="cashierId != null "> |
| | | cashier_id = #{cashierId}, |
| | | </if> |
| | | <if test="signPic != null "> |
| | | sign_pic = #{signPic}, |
| | | </if> |
| | | </set> |
| | | WHERE id=#{id} |
| | | </update> |
| | |
| | | left join sys_beautician_state c on a.id=c.SERVICES_ID |
| | | WHERE 1 = 1 |
| | | <if test="record!=null"> |
| | | <if test="record.queryKey != null and record.queryKey != ''"> |
| | | and (instr(c.vip_name, #{record.queryKey}) or instr(c.phone, #{record.queryKey}) or instr(a.order_no, #{record.queryKey})) |
| | | </if> |
| | | <if test="record.queryStaffId != null and record.queryStaffId !='' "> |
| | | and (a.CREATE_STAFF_ID = #{record.queryStaffId} or c.STAFF_ID=#{record.queryStaffId} ) |
| | | </if> |
| | |
| | | left join sys_beautician_state c on a.id=c.SERVICES_ID |
| | | WHERE 1 = 1 |
| | | <if test="record!=null"> |
| | | <if test="record.queryKey != null and record.queryKey != ''"> |
| | | and (instr(c.vip_name, #{record.queryKey}) or instr(c.phone, #{record.queryKey}) or instr(a.order_no, #{record.queryKey})) |
| | | </if> |
| | | <if test="record.queryStaffId != null and record.queryStaffId !='' "> |
| | | and (a.CREATE_STAFF_ID = #{record.queryStaffId} or c.STAFF_ID=#{record.queryStaffId} ) |
| | | </if> |
| | |
| | | left join sys_shop_info h on a.SHOP_ID=h.ID |
| | | left join shopping_goods m on g.proj_id=m.id |
| | | <where> |
| | | |
| | | <if test="queryKey != null and queryKey != ''"> |
| | | and instr(a.SERVICE_NO, #{queryKey}) |
| | | </if> |