| | |
| | | INNER JOIN product p1 ON p1.id = p.parent_id AND p1.product_name != '半成品' |
| | | LEFT JOIN sys_user AS u ON sir.create_user = u.user_id |
| | | <where> |
| | | 1=1 |
| | | <if test="params.timeStr != null and params.timeStr != ''"> |
| | | AND sir.create_time LIKE CONCAT('%', #{params.timeStr}, '%') |
| | | </if> |
| | |
| | | LEFT JOIN product as p on pm.product_id = p.id |
| | | LEFT JOIN sys_user as u on sir.create_user = u.user_id |
| | | <where> |
| | | 1=1 |
| | | <if test="params.timeStr != null and params.timeStr != ''"> |
| | | and sir.create_time like concat('%',#{params.timeStr},'%') |
| | | </if> |