查询统计导出execl方法
This commit is contained in:
parent
f2b4aac602
commit
ed99df98d3
@ -32,4 +32,24 @@ public interface LisWorkGermMapper {
|
|||||||
int changepatjyrq(@Param("jyrq") Date jyrq, @Param("yq") String yq, @Param("ybh")String ybh, @Param("jyrq1")Date jyrq1);
|
int changepatjyrq(@Param("jyrq") Date jyrq, @Param("yq") String yq, @Param("ybh")String ybh, @Param("jyrq1")Date jyrq1);
|
||||||
List<XmTextResult> getGermTextDict();
|
List<XmTextResult> getGermTextDict();
|
||||||
LabPat getLabPat(@Param("yq")String yq,@Param("ybh") String ybh);
|
LabPat getLabPat(@Param("yq")String yq,@Param("ybh") String ybh);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取菌属列表
|
||||||
|
*/
|
||||||
|
List<Map<String, Object>> getGermClassList();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取折点范围数据
|
||||||
|
*/
|
||||||
|
List<XmMedDetail> getBreakpointList(@Param("germClassCode") String germClassCode);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除折点范围
|
||||||
|
*/
|
||||||
|
int deleteBreakpoint(@Param("xmdh") String xmdh, @Param("ywdh") String ywdh);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 插入折点范围
|
||||||
|
*/
|
||||||
|
int insertBreakpoint(XmMedDetail detail);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -165,4 +165,34 @@
|
|||||||
<select id="getLabPat" resultType="com.czlis.common.core.domain.entity.lis.LabPat">
|
<select id="getLabPat" resultType="com.czlis.common.core.domain.entity.lis.LabPat">
|
||||||
select top 1 * from lab_pat where yq = #{yq} and ybh = #{ybh}
|
select top 1 * from lab_pat where yq = #{yq} and ybh = #{ybh}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<!-- 获取菌属列表 -->
|
||||||
|
<select id="getGermClassList" resultType="java.util.Map">
|
||||||
|
SELECT zdlb, zddh, zdmc, zjf
|
||||||
|
FROM com_dict
|
||||||
|
WHERE zdlb = 'germclass'
|
||||||
|
AND (userflag != '1' OR userflag IS NULL)
|
||||||
|
ORDER BY zddh
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<!-- 获取折点范围数据 -->
|
||||||
|
<select id="getBreakpointList" resultType="com.czlis.common.core.domain.entity.lis.XmMedDetail">
|
||||||
|
SELECT d.*, m.ywmc as medName
|
||||||
|
FROM xm_meddetail d
|
||||||
|
LEFT JOIN xm_med m ON d.ywdh = m.ywdh
|
||||||
|
WHERE d.xmdh = #{germClassCode}
|
||||||
|
AND d.ywzmc = N'菌属'
|
||||||
|
ORDER BY d.xh
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<!-- 删除折点范围 -->
|
||||||
|
<delete id="deleteBreakpoint">
|
||||||
|
DELETE FROM xm_meddetail WHERE xmdh = #{xmdh} AND ywdh = #{ywdh} AND ywzmc = N'菌属'
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<!-- 插入折点范围 -->
|
||||||
|
<insert id="insertBreakpoint">
|
||||||
|
INSERT INTO xm_meddetail (yq, xmdh, ywzmc, ywdh, mic1, mic2, rad1, rad2, mrz, xh, bz, micref, radref, sddfalg)
|
||||||
|
VALUES (#{yq}, #{xmdh}, #{ywzmc}, #{ywdh}, #{mic1}, #{mic2}, #{rad1}, #{rad2}, #{mrz}, #{xh}, #{bz}, #{micref}, #{radref}, #{sddfalg})
|
||||||
|
</insert>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
x
Reference in New Issue
Block a user