| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="resourceResourceStoreTypeTypeServiceDaoImpl"> |
| | | <mapper namespace="resourceStoreTypeServiceDaoImpl"> |
| | | |
| | | <!-- 保存物品类型信息 add by wuxw 2018-07-03 --> |
| | | <insert id="saveBusinessResourceStoreTypeInfo" parameterType="Map"> |
| | |
| | | and t.parent_id= #{parentId} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="queryResourceStoreTypeTree" parameterType="Map" resultType="Map"> |
| | | select t.rst_id rstId,t.name,t.description ,rst.rst_id parentRstId,rst.name parentName,rst.description parentDescription |
| | | from resource_store_type t |
| | | left join resource_store_type rst on t.parent_id = rst.rst_id and rst.status_cd = '0' |
| | | where 1=1 |
| | | and t.status_cd = '0' |
| | | and t.store_id= #{storeId} |
| | | </select> |
| | | </mapper> |