| | |
| | | </if> |
| | | </select> |
| | | <select id="getListByRegion" resultType="cn.gistack.sm.sjztmd.entity.AttResBase"> |
| | | SELECT "code","name","ad_guid" FROM "att_res_base" |
| | | SELECT "guid","code","name","ad_guid","eng_scal" FROM "att_res_base" |
| | | WHERE "is_deleted"=0 |
| | | AND "ad_guid" LIKE CONCAT('%',#{obj.code},'%') |
| | | <if test="obj.name !=null and obj.name !=''"> |
| | |
| | | </if> |
| | | </select> |
| | | <select id="getDetailByCode" resultType="cn.gistack.sm.sjztmd.entity.AttResBase"> |
| | | SELECT "code","name","ad_guid" FROM "att_res_base" |
| | | SELECT "code","name","ad_guid","guid" FROM "att_res_base" |
| | | WHERE "is_deleted"=0 and "code" = #{code} |
| | | </select> |
| | | </mapper> |