| | |
| | | |
| | | |
| | | </select> |
| | | <select id="selectAreaCode" resultType="java.lang.String"> |
| | | select area_code from responsibility_unit t where unit_id = #{id} |
| | | </select> |
| | | |
| | | <select id="selectResponsibilityUnitList" resultType="com.moral.api.pojo.ext.responsibility.ResponsibilityUnitExt"> |
| | | select area_code,parent_code from responsibility_unit t where unit_id = #{id} |
| | | </select> |
| | | |
| | | <select id="selectName" resultType="java.lang.String"> |
| | | select t1.dataValue from sys_dict_type t |
| | | left join sys_dict_data t1 on t1.dict_type_id = t.id |
| | | |
| | | where t.is_delete = 0 and t.name = #{code} and t1.dataKey = #{id} and t1.is_delete = 0 |
| | | |
| | | |
| | | </select> |
| | | |
| | | </mapper> |