| | |
| | | <where> |
| | | AND ord.deleted = 0 |
| | | |
| | | <if test = "dispatcherId != null"> |
| | | AND ord.dispatcher_id = #{dispatcherId} |
| | | </if> |
| | | |
| | | <if test = "inspectorId != null"> |
| | | AND ord.inspector_id = #{inspectorId} |
| | | </if> |
| | | |
| | | <if test = "dispatcher != null and dispatcher !=''"> |
| | | AND us1.name like CONCAT('%',#{dispatcher},'%') |
| | | </if> |
| | |
| | | <where> |
| | | AND ord.deleted = 0 |
| | | |
| | | <if test = "dispatcherId != null"> |
| | | AND ord.dispatcher_id = #{dispatcherId} |
| | | </if> |
| | | |
| | | <if test = "inspectorId != null"> |
| | | AND ord.inspector_id = #{inspectorId} |
| | | </if> |
| | | |
| | | <if test = "dispatcher != null and dispatcher !=''"> |
| | | AND us1.name like CONCAT('%',#{dispatcher},'%') |
| | | </if> |