@@ -148,6 +148,7 @@ public class ABehospitalInfoFacade extends BehospitalInfoServiceImpl {
if (behospitalInfo != null) {
s.setGmtModified(new Date());
s.setQcTypeId(initQcTypeId(s));
+ s.setIsDeleted(IsDeleteEnum.N.getKey());
updateE.add(s);
} else {
s.setGmtCreate(new Date());
@@ -80,6 +80,7 @@ public class AMedicalRecordContentFacade extends MedicalRecordContentServiceImpl
MedicalRecordContent mrContent = this.getOne(queryWrapper, false);
if (mrContent != null) {
//updateE.add(s);
medicalRecordContentService.update(s,queryWrapper);
@@ -530,6 +530,7 @@ public class AMedicalRecordFacade extends MedicalRecordServiceImpl {
.eq("behospital_code", s.getBehospitalCode()), false);
if (mRecord != null) {
@@ -4348,6 +4348,9 @@
<if test="item.modifier != null">
modifier = #{item.modifier},
</if>
+ <if test="item.isDeleted != null">
+ is_deleted = #{item.isDeleted},
+ </if>
</set>
where behospital_code = #{item.behospitalCode} and hospital_id = #{item.hospitalId}
</foreach>
@@ -28,6 +28,9 @@
where rec_id = #{item.recId} and hospital_id = #{item.hospitalId}
@@ -64,6 +64,9 @@
where rec_id = #{item.recId} and hospital_id = #{item.hospitalId} and behospital_code = #{item.behospitalCode}