| | |
| | | t4.status, |
| | | t4.scheduling_user_id, |
| | | t4.scheduling_user_name, |
| | | t4.production_user_id, |
| | | t4.scheduling_date, |
| | | t4.scheduling_num, |
| | | t4.finished_num, |
| | |
| | | <if test="salesLedgerDto.status != null and salesLedgerDto.status != '' "> |
| | | AND t4.status = #{salesLedgerDto.status} |
| | | </if> |
| | | <if test="salesLedgerDto.productionUserId != null and salesLedgerDto.productionUserId != '' "> |
| | | AND t4.production_user_id = #{salesLedgerDto.productionUserId} |
| | | </if> |
| | | <if test="salesLedgerDto.customerName != null and salesLedgerDto.customerName != '' "> |
| | | AND T1.customer_name LIKE CONCAT('%',#{salesLedgerDto.customerName},'%') |
| | | </if> |
| | |
| | | AND t4.scheduling_date <= DATE_FORMAT(#{salesLedgerDto.entryDateEnd},'%Y-%m-%d') |
| | | </if> |
| | | </where> |
| | | order by t4.update_time desc |
| | | order by t4.scheduling_date desc |
| | | </select> |
| | | </mapper> |