|
@@ -33,16 +33,16 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getCostTypeDict" resultType="org.springblade.control.entity.DictInfo">
|
|
|
- select * from c_dict_info WHERE code = 'cost_type' order by sort
|
|
|
+ select * from c_dict_info WHERE code = 'cost_type' and is_deleted = 0 order by sort
|
|
|
</select>
|
|
|
|
|
|
<select id="getProcessList" resultType="org.springblade.control.entity.ProjectProcess">
|
|
|
SELECT * FROM c_project_process
|
|
|
- WHERE project_id = #{projectId}
|
|
|
+ WHERE project_id = #{projectId} and is_deleted = 0
|
|
|
order by sort
|
|
|
</select>
|
|
|
<select id="getPostDict" resultType="org.springblade.control.entity.DictInfo">
|
|
|
- select * from c_dict_info WHERE `type` = 3 order by sort
|
|
|
+ select * from c_dict_info WHERE `type` = 3 and is_deleted = 0 order by sort
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|