| | |
| | | <if test="salesLedgerDto.schedulingUserName != null and salesLedgerDto.schedulingUserName != '' "> |
| | | AND t4.scheduling_user_name LIKE CONCAT('%',#{salesLedgerDto.schedulingUserName},'%') |
| | | </if> |
| | | <if test="salesLedgerDto.schedulingUserId != null and salesLedgerDto.schedulingUserId != '' "> |
| | | AND t4.scheduling_user_id LIKE CONCAT('%',#{salesLedgerDto.schedulingUserId},'%') |
| | | </if> |
| | | <if test="salesLedgerDto.customerName != null and salesLedgerDto.customerName != '' "> |
| | | AND T1.customer_name LIKE CONCAT('%',#{salesLedgerDto.customerName},'%') |
| | | </if> |
| | |
| | | </if> |
| | | </where> |
| | | group by t4.id |
| | | order by t4.update_time desc |
| | | order by t4.scheduling_date desc |
| | | </select> |
| | | </mapper> |