主程序

This commit is contained in:
tangw 2025-10-15 17:37:30 +08:00
parent 2075e738e6
commit 219363619b
3 changed files with 19 additions and 16 deletions

View File

@ -152,24 +152,15 @@ public class CommonUtil {
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public int insertLabPat(LabPat labPat) { public int insertLabPat(LabPat labPat) {
return labPatMapper.updateLabPat(labPat); labPatMapper.insertLabPat(labPat);
return 0;
} }
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public int delLabPat(LabPat labPat) { public int delLabPat(LabPat labPat) {
return labPatMapper.updateLabPat(labPat); return labPatMapper.updateLabPat(labPat);
} }
public List<ComPat> getComPat(String brdh,String yljg){
return comPatMapper.getComPat(brdh,yljg);
}
@Transactional(rollbackFor = Exception.class)
public int deleteComPat(String brdh,String yljg){
return comPatMapper.deleteComPat(brdh,yljg);
}
@Transactional(rollbackFor = Exception.class)
public int insertComPat(ComPat comPat) {
return comPatMapper.insertComPat(comPat);
}
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public int updateLabPat(LabPat labPat) { public int updateLabPat(LabPat labPat) {
return labPatMapper.updateLabPat(labPat); return labPatMapper.updateLabPat(labPat);
@ -184,10 +175,22 @@ public class CommonUtil {
public String getLabPatJgbz(Date jyrq, String yq, String ybh){ public String getLabPatJgbz(Date jyrq, String yq, String ybh){
return labPatMapper.getLabPatJgbz(jyrq, yq, ybh); return labPatMapper.getLabPatJgbz(jyrq, yq, ybh);
} }
public String getSqhByKey(Date jyrq, String yq, String ybh) { public String getSqhByKey(Date jyrq, String yq, String ybh) {
return labPatMapper.getSqhByKey(jyrq, yq, ybh); return labPatMapper.getSqhByKey(jyrq, yq, ybh);
} }
//ComPat
public List<ComPat> getComPat(String brdh,String yljg){
return comPatMapper.getComPat(brdh,yljg);
}
@Transactional(rollbackFor = Exception.class)
public int deleteComPat(String brdh,String yljg){
return comPatMapper.deleteComPat(brdh,yljg);
}
@Transactional(rollbackFor = Exception.class)
public int insertComPat(ComPat comPat) {
return comPatMapper.insertComPat(comPat);
}
//申请单主表方法集合 //申请单主表方法集合
public LabReqmain getLabReqmainOne(String sqh) { public LabReqmain getLabReqmainOne(String sqh) {
return labReqmainMapper.getLabReqmainOne(sqh); return labReqmainMapper.getLabReqmainOne(sqh);

View File

@ -1989,6 +1989,7 @@ public class LisWorkUtils {
case "cyrq": case "cyrq":
case "sqsj": case "sqsj":
case "nl": case "nl":
break;
case "yhdh": case "yhdh":
mrz = labInputcol.getMrz(); mrz = labInputcol.getMrz();
if (mrz != null && "".equals(mrz)) { if (mrz != null && "".equals(mrz)) {
@ -2002,6 +2003,7 @@ public class LisWorkUtils {
labPat.setYhdh(mrz); labPat.setYhdh(mrz);
} }
} }
break;
case "hdys": case "hdys":
String sybh = loginConfigParam.getCurrent_hdys_sybh(); String sybh = loginConfigParam.getCurrent_hdys_sybh();
String eybh = loginConfigParam.getCurrent_hdys_eybh(); String eybh = loginConfigParam.getCurrent_hdys_eybh();
@ -2015,7 +2017,7 @@ public class LisWorkUtils {
break; break;
default: default:
mrz = labInputcol.getMrz(); mrz = labInputcol.getMrz();
if (mrz != null && "".equals(mrz)) { if (mrz != null && !"".equals(mrz)) {
EntityUtils.setItem(labPat, zdmc, mrz); EntityUtils.setItem(labPat, zdmc, mrz);
} }
} }

View File

@ -72,7 +72,6 @@
<if test="confirmer != null and confirmer !=''">confirmer,</if> <if test="confirmer != null and confirmer !=''">confirmer,</if>
<if test="confirmdt != null ">confirmdt,</if> <if test="confirmdt != null ">confirmdt,</if>
<if test="mzdy != null and mzdy != ''">mzdy,</if> <if test="mzdy != null and mzdy != ''">mzdy,</if>
<if test="txtval != null and txtval != ''">txtval,</if>
<if test="fslx != null and fslx != ''">fslx,</if> <if test="fslx != null and fslx != ''">fslx,</if>
<if test="ybzt != null and ybzt != ''">ybzt,</if> <if test="ybzt != null and ybzt != ''">ybzt,</if>
<if test="instrid != null and instrid != ''">instrid,</if> <if test="instrid != null and instrid != ''">instrid,</if>
@ -138,7 +137,6 @@
<if test="confirmer != null and confirmer !=''">#{confirmer},</if> <if test="confirmer != null and confirmer !=''">#{confirmer},</if>
<if test="confirmdt != null ">#{confirmdt},</if> <if test="confirmdt != null ">#{confirmdt},</if>
<if test="mzdy != null and mzdy != ''">#{mzdy},</if> <if test="mzdy != null and mzdy != ''">#{mzdy},</if>
<if test="txtval != null and txtval != ''">#{txtval},</if>
<if test="fslx != null and fslx != ''">#{fslx},</if> <if test="fslx != null and fslx != ''">#{fslx},</if>
<if test="ybzt != null and ybzt != ''">#{ybzt},</if> <if test="ybzt != null and ybzt != ''">#{ybzt},</if>
<if test="instrid != null and instrid != ''">#{instrid},</if> <if test="instrid != null and instrid != ''">#{instrid},</if>