组织开发

This commit is contained in:
lhx
2025-12-01 18:05:59 +08:00
parent bb3397c1a7
commit 30f7dc155a
10 changed files with 241 additions and 19 deletions

View File

@@ -4,20 +4,13 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.StandardCategoryMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.StandardCategory">
<id property="id" column="id" />
<result property="parent_id" column="parent_id" />
<result property="name" column="name" />
<result property="code" column="code" />
<result property="sort_order" column="sort_order" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,parent_id,name,code,sort_order,remark,
created_at,updated_at,is_deleted
</sql>
<select id="selectListByOrgId" resultType="com.dc.dc_project.model.pojo.StandardCategory">
select ssc.*
from sys_standard_category ssc
where id in (select standard_category_id from sys_org_laboratory_standard where org_id=#{orgId})
</select>
</mapper>