主程序
This commit is contained in:
parent
2075e738e6
commit
219363619b
@ -152,24 +152,15 @@ public class CommonUtil {
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public int insertLabPat(LabPat labPat) {
|
||||
return labPatMapper.updateLabPat(labPat);
|
||||
labPatMapper.insertLabPat(labPat);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public int delLabPat(LabPat 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)
|
||||
public int updateLabPat(LabPat labPat) {
|
||||
return labPatMapper.updateLabPat(labPat);
|
||||
@ -184,10 +175,22 @@ public class CommonUtil {
|
||||
public String getLabPatJgbz(Date jyrq, String yq, String ybh){
|
||||
return labPatMapper.getLabPatJgbz(jyrq, yq, ybh);
|
||||
}
|
||||
|
||||
public String getSqhByKey(Date jyrq, String yq, String 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) {
|
||||
return labReqmainMapper.getLabReqmainOne(sqh);
|
||||
|
||||
@ -1989,6 +1989,7 @@ public class LisWorkUtils {
|
||||
case "cyrq":
|
||||
case "sqsj":
|
||||
case "nl":
|
||||
break;
|
||||
case "yhdh":
|
||||
mrz = labInputcol.getMrz();
|
||||
if (mrz != null && "".equals(mrz)) {
|
||||
@ -2002,6 +2003,7 @@ public class LisWorkUtils {
|
||||
labPat.setYhdh(mrz);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "hdys":
|
||||
String sybh = loginConfigParam.getCurrent_hdys_sybh();
|
||||
String eybh = loginConfigParam.getCurrent_hdys_eybh();
|
||||
@ -2015,7 +2017,7 @@ public class LisWorkUtils {
|
||||
break;
|
||||
default:
|
||||
mrz = labInputcol.getMrz();
|
||||
if (mrz != null && "".equals(mrz)) {
|
||||
if (mrz != null && !"".equals(mrz)) {
|
||||
EntityUtils.setItem(labPat, zdmc, mrz);
|
||||
}
|
||||
}
|
||||
|
||||
@ -72,7 +72,6 @@
|
||||
<if test="confirmer != null and confirmer !=''">confirmer,</if>
|
||||
<if test="confirmdt != null ">confirmdt,</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="ybzt != null and ybzt != ''">ybzt,</if>
|
||||
<if test="instrid != null and instrid != ''">instrid,</if>
|
||||
@ -138,7 +137,6 @@
|
||||
<if test="confirmer != null and confirmer !=''">#{confirmer},</if>
|
||||
<if test="confirmdt != null ">#{confirmdt},</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="ybzt != null and ybzt != ''">#{ybzt},</if>
|
||||
<if test="instrid != null and instrid != ''">#{instrid},</if>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user