Merge remote-tracking branch 'lis8.0/master'
This commit is contained in:
commit
f053d9f9cc
@ -13,4 +13,5 @@ public class LabInputmdlDetail {
|
||||
private Integer xh;
|
||||
private String xmdh;
|
||||
private String mrz;
|
||||
private String xmmc;
|
||||
}
|
||||
|
||||
@ -140,7 +140,7 @@ public class LisWorkUtils {
|
||||
}
|
||||
//commonUtil.delLabResultAll(jyrq0,yq0,ybh0);
|
||||
for (LabResult labResult : labResultList) {
|
||||
if(labResult.getChangeflag()==2) {
|
||||
if(labResult.getChangeflag() != null && labResult.getChangeflag()==2) {
|
||||
commonUtil.delLabResult(labResult);
|
||||
commonUtil.insertLabResult(labResult);
|
||||
labResult.setChangeflag(0);
|
||||
@ -173,6 +173,7 @@ public class LisWorkUtils {
|
||||
String yqdl = commonUtil.getYqdl(yq);
|
||||
//查询病人信息
|
||||
LabPat labPat = commonUtil.getLabPatOne(jyrq, yq, ybh);
|
||||
if(labPat==null) return new Result("0", "保存成功!");
|
||||
String finish = labPat.getFinish();
|
||||
if (!"细菌仪".equals(yqdl) && finish != null && finsh == 1) labPat.setFinish("1");
|
||||
labResultList = saveallresult(labPat, labResultList);
|
||||
@ -2132,6 +2133,7 @@ public class LisWorkUtils {
|
||||
labResult.setYbh(ybh);
|
||||
labResult.setXmdh(labInputmdlDetail.getXmdh());
|
||||
labResult.setCsjg(labInputmdlDetail.getMrz());
|
||||
labResult.setXmmc(labInputmdlDetail.getXmmc());
|
||||
if(!savefalg)labResult.setChangeflag(2);
|
||||
else {
|
||||
labResult.setChangeflag(1);
|
||||
|
||||
@ -3,6 +3,10 @@
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.czlis.interfaceCommon.mapper.LabInputmdlDetailMapper">
|
||||
<select id="getLabInputmdlDetail" resultType="com.czlis.common.core.domain.entity.lis.LabInputmdlDetail">
|
||||
SELECT lab_inputmdldetail.*,xm_info.xmmc FROM lab_inputmdldetail join xm_info on xm_info.yq=lab_inputmdldetail.yq
|
||||
and xm_info.xmdh=lab_inputmdldetail.xmdh where lab_inputmdldetail.yq = #{yq} and lab_inputmdldetail.mbmc=#{mbmc} order by xh asc
|
||||
</select>
|
||||
<select id="getLabInputmdlDetailAll" resultType="com.czlis.common.core.domain.entity.lis.LabInputmdlDetail">
|
||||
SELECT * FROM lab_inputmdldetail where yq = #{yq} and mbmc=#{mbmc} order by xh asc
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
@ -243,7 +243,7 @@ public class LisWorkServiceImpl implements LisWorkService {
|
||||
labInputcol3.setKj("1");
|
||||
labInputcol3.setKybj("0");
|
||||
labInputcol3.setZdts("名称");
|
||||
labInputcol3.setMrz("120");
|
||||
labInputcol3.setMrz("100");
|
||||
ResultConfig.add(3,labInputcol3);
|
||||
LabInputcol labInputcol4 =new LabInputcol();
|
||||
labInputcol4.setXh(4);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user