|
@@ -104,21 +104,19 @@ public class QcCacesEntryFacade extends QcCasesEntryServiceImpl {
|
|
|
* @return
|
|
|
*/
|
|
|
public Boolean deleteQcCasesEntry(GetUpdateInfoVO getUpdateInfoVO){
|
|
|
- boolean res = false;
|
|
|
-
|
|
|
//删除条目
|
|
|
QueryWrapper<QcCasesEntry> qcCasesEntryQueryWrapper = new QueryWrapper<>();
|
|
|
qcCasesEntryQueryWrapper.eq("id",getUpdateInfoVO.getId());
|
|
|
- res = this.remove(qcCasesEntryQueryWrapper);
|
|
|
+ boolean res = this.remove(qcCasesEntryQueryWrapper);
|
|
|
//删除明细
|
|
|
QueryWrapper<CasesEntryHospital> casesEntryHospitalQueryWrapper = new QueryWrapper<>();
|
|
|
casesEntryHospitalQueryWrapper.eq("cases_entry_id",getUpdateInfoVO.getId());
|
|
|
- res = casesEntryHospitalFacade.remove(casesEntryHospitalQueryWrapper);
|
|
|
+ casesEntryHospitalFacade.remove(casesEntryHospitalQueryWrapper);
|
|
|
//删除模块
|
|
|
UpdateWrapper<QcQuestionEntry> qcQuescQuestionInfoUpdate = new UpdateWrapper<>();
|
|
|
qcQuescQuestionInfoUpdate
|
|
|
.eq("cases_entry_id",getUpdateInfoVO.getId());
|
|
|
- res = qcQuestionEntryFacade.remove(qcQuescQuestionInfoUpdate);
|
|
|
+ qcQuestionEntryFacade.remove(qcQuescQuestionInfoUpdate);
|
|
|
|
|
|
return res;
|
|
|
|