|
@@ -62,17 +62,17 @@ public class QcCasesEntryHospitalFacade extends QcCasesEntryHospitalServiceImpl
|
|
|
.eq("hospital_id", Long.valueOf(SysUserUtils.getCurrentHospitalID()))
|
|
|
.set("modifier", SysUserUtils.getCurrentPrincipleID())
|
|
|
.set("gmt_modified", DateUtil.now());
|
|
|
- qcCasesEntry.set(qcCasesEntryUpdataVO.getScore() != null,
|
|
|
+ qcCasesEntry.set("1".equals(qcCasesEntryUpdataVO.getIsPlacefile()) && qcCasesEntryUpdataVO.getScore() != null,
|
|
|
"score", qcCasesEntryUpdataVO.getScore());
|
|
|
qcCasesEntry.set(qcCasesEntryUpdataVO.getMsg() != null,
|
|
|
"msg", qcCasesEntryUpdataVO.getMsg());
|
|
|
- qcCasesEntry.set(qcCasesEntryUpdataVO.getIsUsed() != null,
|
|
|
+ qcCasesEntry.set("1".equals(qcCasesEntryUpdataVO.getIsPlacefile()) && qcCasesEntryUpdataVO.getIsUsed() != null,
|
|
|
"is_used", qcCasesEntryUpdataVO.getIsUsed());
|
|
|
qcCasesEntry.set(qcCasesEntryUpdataVO.getIsReject() != null,
|
|
|
"is_reject", qcCasesEntryUpdataVO.getIsReject());
|
|
|
- qcCasesEntry.set("0".equals(qcCasesEntryUpdataVO.getIsPlacefile()),
|
|
|
+ qcCasesEntry.set("0".equals(qcCasesEntryUpdataVO.getIsPlacefile()) && qcCasesEntryUpdataVO.getScore() != null,
|
|
|
"score_run", qcCasesEntryUpdataVO.getScore());
|
|
|
- qcCasesEntry.set("0".equals(qcCasesEntryUpdataVO.getIsPlacefile()),
|
|
|
+ qcCasesEntry.set("0".equals(qcCasesEntryUpdataVO.getIsPlacefile()) && qcCasesEntryUpdataVO.getIsUsed() != null,
|
|
|
"is_used_run", qcCasesEntryUpdataVO.getIsUsed());
|
|
|
return update(new QcCasesEntryHospital(), qcCasesEntry);
|
|
|
}
|