<?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="com.iailab.module.model.mcs.pre.dao.DmModuleDao">
|
|
<select id="getModuleByItemId" resultType="com.iailab.module.model.mcs.pre.entity.DmModuleEntity">
|
select t1.*
|
from T_DM_MODULE t1
|
left join T_DM_MODULE_ITEM t2 on t2.MODULEID = t1.ID
|
where t2.ITEMID = #{value}
|
</select>
|
</mapper>
|