|
@@ -24,6 +24,7 @@
|
|
<result column="creator_id" property="creatorId" />
|
|
<result column="creator_id" property="creatorId" />
|
|
<result column="creator" property="creator" />
|
|
<result column="creator" property="creator" />
|
|
<result column="mould_id" property="mouldId" />
|
|
<result column="mould_id" property="mouldId" />
|
|
|
|
+ <result column="state" property="state" />
|
|
<association property="part2dFile" javaType="com.hssx.cloudmodel.entity.MouldFile" column="id" select="getPart2dFileByPartId">
|
|
<association property="part2dFile" javaType="com.hssx.cloudmodel.entity.MouldFile" column="id" select="getPart2dFileByPartId">
|
|
</association>
|
|
</association>
|
|
<association property="part3dFile" javaType="com.hssx.cloudmodel.entity.MouldFile" column="id" select="getPart3dFileByPartId">
|
|
<association property="part3dFile" javaType="com.hssx.cloudmodel.entity.MouldFile" column="id" select="getPart3dFileByPartId">
|
|
@@ -36,7 +37,7 @@
|
|
</sql>
|
|
</sql>
|
|
<select id="selectPartFileByMouldId" resultMap="BaseResultMapVO">
|
|
<select id="selectPartFileByMouldId" resultMap="BaseResultMapVO">
|
|
select
|
|
select
|
|
- tbp.id, tbp.part_no, tbp.part_name, tbmf.indate, tbp.part_life, tbp.is_vulnerable, tbp.creator_id, tbp.creator, tbp.mould_id
|
|
|
|
|
|
+ tbp.id, tbp.part_no, tbp.part_name, tbmf.indate, tbp.part_life, tbp.is_vulnerable, tbp.creator_id, tbp.creator, tbp.mould_id,tbmf.state
|
|
from
|
|
from
|
|
tb_part tbp
|
|
tb_part tbp
|
|
left join
|
|
left join
|