| | |
| | | LEFT JOIN sys_land l ON t.land_id = l.id |
| | | LEFT JOIN sys_stockfactory f ON f.id=t.stock_id |
| | | LEFT JOIN blade_user u ON u.id=t.task_user |
| | | where t.is_deleted = 0 |
| | | <if test="task.status!=null and task.status!=''"> |
| | | and t.status=#{task.status} |
| | | </if> |
| | | where t.is_deleted = 0 and t.status=#{task.status} |
| | | <if test="task.taskUser!=null and task.taskUser!=''"> |
| | | and t.create_user=#{task.taskUser} |
| | | and t.task_user=#{task.taskUser} |
| | | </if> |
| | | <if test="task.createUser!=null and task.createUser!=''"> |
| | | and t.create_user=#{task.createUser} |
| | | <if test="task.User!=null and task.User!=''"> |
| | | and t.create_user=#{task.User} |
| | | </if> |
| | | </select> |
| | | |