Commit 7d20bb9f by 刘宇峰

特约店、围栏同步

1 parent 208800f5
......@@ -51,13 +51,13 @@
)
</if>
<if test="area != null and area !=''">
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{area});
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{area})
</if>
<if test="province != null and province !=''">
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{province});
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{province})
</if>
<if test="city != null and city !=''">
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{city});
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{city})
</if>
order by ttds.id desc
</select>
......@@ -87,13 +87,13 @@
)
</if>
<if test="area != null and area !=''">
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{area});
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{area})
</if>
<if test="province != null and province !=''">
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{province});
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{province})
</if>
<if test="city != null and city !=''">
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{city});
and ttds.created_by in (select tu.id from t_user tu where tu.department_id = #{city})
</if>
order by ttds.id desc
</select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!