fix:商检报告的“签发”“方法”要按样品类型显示
This commit is contained in:
@@ -6,6 +6,10 @@ import com.zt.plat.framework.mybatis.core.query.LambdaQueryWrapperX;
|
|||||||
import com.zt.plat.module.qms.business.reportdoc.controller.vo.*;
|
import com.zt.plat.module.qms.business.reportdoc.controller.vo.*;
|
||||||
import com.zt.plat.module.qms.business.reportdoc.dal.dataobject.ReportDocumentDataDO;
|
import com.zt.plat.module.qms.business.reportdoc.dal.dataobject.ReportDocumentDataDO;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 检测报告明细 Mapper
|
* 检测报告明细 Mapper
|
||||||
@@ -26,4 +30,6 @@ public interface ReportDocumentDataMapper extends BaseMapperX<ReportDocumentData
|
|||||||
.orderByDesc(ReportDocumentDataDO::getId));
|
.orderByDesc(ReportDocumentDataDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
List<Map<String, Object>> queryBaseSampleBySourceId(@Param("sourceId") Long sourceId);
|
||||||
|
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -9,4 +9,13 @@
|
|||||||
文档可见:https://www.iocoder.cn/MyBatis/x-plugins/
|
文档可见:https://www.iocoder.cn/MyBatis/x-plugins/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<select id="queryBaseSampleBySourceId" resultType="map">
|
||||||
|
SELECT bs.*
|
||||||
|
FROM T_BSE_SMP bs
|
||||||
|
inner join T_CFG_BSE_SMP cbs on cbs.BSE_SMP_ID = bs.ID
|
||||||
|
INNER JOIN T_BSN_BSE_SMP bbs on bbs.CFG_BSE_SMP_ID = cbs.ID
|
||||||
|
INNER JOIN T_BSN_ASY_RPT_DAT d on d.BSN_BSE_SMP_ID = bbs.ID
|
||||||
|
where d.id = #{sourceId}
|
||||||
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user