diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/controller/CaseInformationController.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/controller/CaseInformationController.java index a259d3ae..bc21fbc9 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/controller/CaseInformationController.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/controller/CaseInformationController.java @@ -5,6 +5,7 @@ import com.tcctlo.common.core.controller.BaseController; import com.tcctlo.common.core.domain.AjaxResult; import com.tcctlo.law.entity.CaseInformation; import com.tcctlo.law.service.ICaseInformationService; +import com.tcctlo.law.vo.CaseArchivedVO; import com.tcctlo.law.vo.CaseInformationEnterVO; import com.tcctlo.law.vo.CaseInformationListVO; import org.springframework.beans.factory.annotation.Autowired; @@ -25,10 +26,25 @@ import java.util.Map; @RequestMapping("/caseInformation") public class CaseInformationController extends BaseController { - @Autowired private ICaseInformationService iCaseInformationService; + /** + * 案件信息录入 + * + * @param caseInfo 案件信息 + * @return 是否录入成功 + */ + @PostMapping(value = "/enterCaseInfo") + public AjaxResult enterCaseInfo(@RequestBody CaseInformationEnterVO caseInfo) { + Boolean result = iCaseInformationService.enterCaseInfo(caseInfo); + if (result) { + return AjaxResult.success("案件信息录入成功"); + } else { + return AjaxResult.error("案件信息录入失败"); + } + } + @PostMapping(value = "/list") public AjaxResult list(@RequestParam(required = false) Integer current, @RequestParam(required = false) Integer size, @RequestBody(required = false) Map params) { if (current == null) { @@ -63,6 +79,16 @@ public class CaseInformationController extends BaseController { return AjaxResult.success(result); } + /** + * 案件归档【单个案件】 + * @param caseArchivedVO 要归档的案件 + * @return 是否归档成功 + */ + @PostMapping(value = "/caseArchived") + public AjaxResult caseArchived(@RequestBody CaseArchivedVO caseArchivedVO) { + Boolean res = iCaseInformationService.caseArchived(caseArchivedVO); + return AjaxResult.success(res); + } @GetMapping(value = "/{id}") @@ -83,7 +109,12 @@ public class CaseInformationController extends BaseController { return AjaxResult.success(result); } - @PostMapping(value = "/deleteCase") + /** + * 案件删除【批量删除+单个删除】 + * @param ids + * @return + */ + @GetMapping(value = "/deleteCase") public AjaxResult deleteCase(@RequestParam("ids") String ids) { return AjaxResult.success(iCaseInformationService.deleteCase(ids)); } @@ -94,19 +125,5 @@ public class CaseInformationController extends BaseController { return AjaxResult.success(result); } - /** - * 案件信息录入 - * - * @param caseInfo 案件信息 - * @return 是否录入成功 - */ - @PostMapping(value = "/enterCaseInfo") - public AjaxResult enterCaseInfo(@RequestBody CaseInformationEnterVO caseInfo) { - Boolean result = iCaseInformationService.enterCaseInfo(caseInfo); - if (result) { - return AjaxResult.success("案件信息录入成功"); - } else { - return AjaxResult.error("案件信息录入失败"); - } - } + } diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/controller/ImpulseInformationController.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/controller/ImpulseInformationController.java index dd41073d..f5f7dfe1 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/controller/ImpulseInformationController.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/controller/ImpulseInformationController.java @@ -54,16 +54,8 @@ public class ImpulseInformationController { */ @PostMapping("/retrievalConflict") public AjaxResult retrievalConflict(@RequestBody ImpulseInformation impulseInformation) { - AjaxResult ajaxResult = new AjaxResult(); Boolean res = iImpulseInformationService.retrievalConflict(impulseInformation); - if (res){ - ajaxResult.put("code", 200); - ajaxResult.put("msg", "检索通过"); - }else { - ajaxResult.put("code", 401); - ajaxResult.put("msg", "检索不通过"); - } - return ajaxResult; + return AjaxResult.success(res); } @GetMapping(value = "/{id}") diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/entity/FileManager.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/entity/FileManager.java index 0337a7bf..aab4b578 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/entity/FileManager.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/entity/FileManager.java @@ -46,6 +46,11 @@ public class FileManager implements Serializable { */ private String fileUrl; + /** + * 文件类型【0:归档文件,1:收款记录文件】 + */ + private Integer fileType; + /** * 状态【0:正常,1::停用】 */ diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CaseInformationMapper.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CaseInformationMapper.java index 727a83bc..803d5031 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CaseInformationMapper.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CaseInformationMapper.java @@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.tcctlo.law.vo.CaseInformationListVO; import org.apache.ibatis.annotations.Param; +import java.util.List; import java.util.Map; /** @@ -25,4 +26,18 @@ public interface CaseInformationMapper extends BaseMapper { * @return 结果集 */ Page selectCondition(@Param("page") Page page, @Param("condition") Map condition); + + + /** + * 案件归档 + * @param caseId 要归档的案件ID + * @return 受影响记录数 + */ + int caseArchived(@Param("caseId") Long caseId); + + /** + * 批量逻辑删除案件信息 + * @param longList 案件ID集合 + */ + int removeByIds(@Param("ids") List longList); } diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CaseLawyerMapper.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CaseLawyerMapper.java index 7b4ba67c..c2b47d4a 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CaseLawyerMapper.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CaseLawyerMapper.java @@ -52,4 +52,11 @@ public interface CaseLawyerMapper extends BaseMapper { * @return 受影响行数 */ int updateByIds(@Param("ids") List ids); + + /** + * 根据案件ID逻辑删除案件相关律师信息 + * @param caseId 案件ID + * @return 受影响行数 + */ + int deleteLawyerByCaseId(@Param("caseIds") List caseId); } diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CollectionRecordMapper.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CollectionRecordMapper.java index 8e5e00ce..1df46958 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CollectionRecordMapper.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/CollectionRecordMapper.java @@ -3,7 +3,7 @@ package com.tcctlo.law.mapper; import com.tcctlo.law.entity.CollectionRecord; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.tcctlo.law.vo.CollectionRecordEnterVO; -import io.lettuce.core.dynamic.annotation.Param; +import org.apache.ibatis.annotations.Param; import java.util.List; @@ -23,4 +23,19 @@ public interface CollectionRecordMapper extends BaseMapper { * @return 结果集 */ List selectByCaseId(@Param("caseId") Long caseId); + + /** + * 根据案件ID批量删除收款记录 + * @param caseIds 案件ID集合 + * @return 删除结果 + */ + int removeByCaseId(@Param("caseIds") List caseIds); + + /** + * 根据案件ID和收款记录ID删除收款记录 + * @param id 收款记录ID + * @param caseId 案件ID + * @return 结果集 + */ + int removeByCaseIdAdnRecordId(@Param("id") Long id, @Param("caseId") Long caseId); } diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/FileManagerMapper.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/FileManagerMapper.java index 7395f1f2..4824f7a5 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/FileManagerMapper.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/FileManagerMapper.java @@ -31,4 +31,18 @@ public interface FileManagerMapper extends BaseMapper { * @return 结果集 */ FileManager selectByCaseIdAndFileId(@Param("caseId") Long caseId, @Param("fileId") Long fileId); + + /** + * 根据案件ID批量删除文件管理信息 + * @param caseIds 案件ID集合 + * @return + */ + int removeByCaseId(@Param("caseIds") List caseIds); + + /** + * 根据案件ID和收款记录表中存储的文件ID批量删除文件管理信息 + * @param caseId 案件ID + * @param fileIds 收款记录表中存储的文件ID + */ + int removeByCaseIdAndFileIds(@Param("caseId") Long caseId, @Param("fileIds") List fileIds); } diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/ImpulseInformationMapper.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/ImpulseInformationMapper.java index d789d3f5..403239ba 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/ImpulseInformationMapper.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/mapper/ImpulseInformationMapper.java @@ -52,4 +52,11 @@ public interface ImpulseInformationMapper extends BaseMapper * @return 结果集 */ List retrievalConflict(@Param("info") ImpulseInformation impulseInformation); + + /** + * 根据案件ID批量删除 + * @param caseId 案件ID集合 + * @return 结果集 + */ + int removeByCaseId(@Param("caseId") List caseId); } diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/service/ICaseInformationService.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/service/ICaseInformationService.java index 98a26249..aef46bb1 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/service/ICaseInformationService.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/service/ICaseInformationService.java @@ -3,6 +3,7 @@ package com.tcctlo.law.service; import com.tcctlo.law.entity.CaseInformation; import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.tcctlo.law.vo.CaseArchivedVO; import com.tcctlo.law.vo.CaseInformationEnterVO; import com.tcctlo.law.vo.CaseInformationListVO; @@ -99,4 +100,11 @@ public interface ICaseInformationService extends IService{ * @return 结果集 */ Boolean deleteCase(String ids); + + /** + * 案件归档 + * @param caseArchivedVO 归档案件+归档文件 + * @return 是否归档成功 + */ + Boolean caseArchived(CaseArchivedVO caseArchivedVO); } diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/service/ICollectionRecordService.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/service/ICollectionRecordService.java index f75984ff..65d7f5e1 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/service/ICollectionRecordService.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/service/ICollectionRecordService.java @@ -12,7 +12,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; * @author 张世琪 * @since 2025-02-06 */ -public interface ICollectionRecordService { +public interface ICollectionRecordService extends IService{ /** *

diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/service/impl/CaseInformationServiceImpl.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/service/impl/CaseInformationServiceImpl.java index 63f948c8..66a1be36 100644 --- a/tcctlo-law-office/src/main/java/com/tcctlo/law/service/impl/CaseInformationServiceImpl.java +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/service/impl/CaseInformationServiceImpl.java @@ -1,5 +1,6 @@ package com.tcctlo.law.service.impl; +import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.collection.CollUtil; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; @@ -7,16 +8,11 @@ import com.tcctlo.common.core.domain.model.LoginUser; import com.tcctlo.common.utils.SecurityUtils; import com.tcctlo.common.utils.StringUtils; import com.tcctlo.law.CaseEnum; -import com.tcctlo.law.entity.CaseInformation; -import com.tcctlo.law.entity.CaseLawyer; -import com.tcctlo.law.entity.FileManager; -import com.tcctlo.law.entity.ImpulseInformation; +import com.tcctlo.law.entity.*; import com.tcctlo.law.mapper.*; -import com.tcctlo.law.service.ICaseInformationService; -import com.tcctlo.law.service.ICaseLawyerService; -import com.tcctlo.law.service.IFileManagerService; -import com.tcctlo.law.service.IImpulseInformationService; +import com.tcctlo.law.service.*; import com.tcctlo.law.tools.GenerateCaseNo; +import com.tcctlo.law.vo.CaseArchivedVO; import com.tcctlo.law.vo.CaseInformationEnterVO; import com.tcctlo.law.vo.CaseInformationListVO; import com.tcctlo.law.vo.CollectionRecordEnterVO; @@ -26,8 +22,11 @@ import org.springframework.transaction.annotation.Isolation; import org.springframework.transaction.annotation.Transactional; import javax.annotation.Resource; +import java.math.BigDecimal; import java.util.*; import java.util.function.Consumer; +import java.util.function.Function; +import java.util.function.Predicate; import java.util.stream.Collectors; /** @@ -96,6 +95,12 @@ public class CaseInformationServiceImpl extends ServiceImpl list(Integer pageNo, Integer pageSize, Map params) { LoginUser loginUser = SecurityUtils.getLoginUser(); @@ -222,7 +227,10 @@ public class CaseInformationServiceImpl extends ServiceImpl collectionRecordList = caseInfo.getCollectionRecordList(); collectionRecordList.forEach(item -> { item.setCaseId(caseId); - List fileManagerList = item.getFileManager().stream().peek(i -> i.setCaseId(caseId)).collect(Collectors.toList()); + List fileManagerList = item.getFileManager().stream().peek(i -> { + i.setCaseId(caseId); + i.setFileType(1); //设置文件类型为【收款记录文件】 + }).collect(Collectors.toList()); fileManagerService.saveBatch(fileManagerList); List fileIds = fileManagerList.stream().map(FileManager::getId).collect(Collectors.toList()); item.setCollectionUrlId(StringUtils.join(fileIds, ",")); @@ -276,7 +284,7 @@ public class CaseInformationServiceImpl extends ServiceImpl oldImpulse = informationMapper.selectByCaseId(params.getCaseInformation().getId(), 0); List newImpulse = params.getEntrustingParty(); editImpulseInformation(oldImpulse, newImpulse, caseId); @@ -289,7 +297,6 @@ public class CaseInformationServiceImpl extends ServiceImpl oldAssistingLawyer = caseLawyerMapper.selectAssistingLawyerByCaseId(params.getCaseInformation().getId()); editAssistingLawyer(oldAssistingLawyer, newAssistingLawyer, caseId); caseInformation.setCaseLawyerIds(caseLawyerMapper.selectAllPrimeLawyerByCaseId(params.getCaseInformation().getId()).stream().map(c -> c.getLawyerId().toString()).collect(Collectors.joining(","))); - caseInformationMapper.updateById(caseInformation); + /** * 收款记录----collectionRecordList * 收款记录基本信息----collectionRecord * 收款记录文件----fileManager */ + List newData = params.getCollectionRecordList(); //收款记录信息 + List oldData = collectionRecordMapper.selectByCaseId(caseId); + List newIds = newData.stream().map(item -> item.getId()).collect(Collectors.toList()); + List oldIds = oldData.stream().map(item -> item.getId()).collect(Collectors.toList()); + //获取新添加的收款记录,计算出新的收款记录金额,在总金额中加上 + List insert = newData.stream().filter(item -> item.getId() == null).peek(item -> item.setCaseId(caseId)).collect(Collectors.toList()); + insert.forEach(item -> { + List fileManager = item.getFileManager().stream().peek(i -> i.setCaseId(caseId)).collect(Collectors.toList()); + fileManagerService.saveBatch(fileManager); + item.setCollectionUrlId(fileManager.stream().map(i -> i.getId().toString()).collect(Collectors.joining(","))); + }); + List list = BeanUtil.copyToList(insert, CollectionRecord.class); + collectionRecordService.saveBatch(list); + /*BigDecimal addSum = BigDecimal.valueOf(insert.stream().mapToDouble(item -> item.getAmountReceived().doubleValue()).sum());*/ + + //获取删除的收款记录,计算出删除的收款记录的金额,在总金额中减去 + List deleteIds = (List) CollUtil.subtract(oldIds, newIds); + List deleteData = oldData.stream().filter(item -> CollUtil.contains(deleteIds, item.getId())).peek(item -> { + item.setDelFlag(1); + item.setStatus(1); + }).collect(Collectors.toList()); + /*BigDecimal delSum = BigDecimal.valueOf(deleteData.stream().mapToDouble(item -> item.getAmountReceived().doubleValue()).sum());*/ + + + for (CollectionRecordEnterVO item : deleteData) { + //根据caseId和收款记录ID删除收款记录 + collectionRecordMapper.removeByCaseIdAdnRecordId(item.getId(),caseId); + //根据caseId和收款记录ID删除收款记录文件 + List fileIds = Arrays.stream(item.getCollectionUrlId().split(",")) + .map(Long::parseLong) + .collect(Collectors.toList()); + fileManagerMapper.removeByCaseIdAndFileIds(caseId, fileIds); + } + caseInformationMapper.updateById(caseInformation); return 0; } @Override + @Transactional(isolation = Isolation.DEFAULT, rollbackFor = Exception.class) public Boolean deleteCase(String ids) { - List longList = Arrays.stream(ids.split(",")) - .map(Long::parseLong) - .collect(Collectors.toList()); - return caseInformationService.removeBatchByIds(longList); + try { + //逻辑删除案件信息 + List longList = Arrays.stream(ids.split(",")) + .map(Long::parseLong) + .collect(Collectors.toList()); + caseInformationMapper.removeByIds(longList); + //逻辑删除案件相关律师信息 + caseLawyerMapper.deleteLawyerByCaseId(longList); + //逻辑删除收款记录 + collectionRecordMapper.removeByCaseId(longList); + //逻辑删除案件相关文件 + fileManagerMapper.removeByCaseId(longList); + //将案件相关利冲信息设置为不需要检索,并将状态设置为停用、删除标志设置为已删除 + informationMapper.removeByCaseId(longList); + } catch (Exception e) { + throw new RuntimeException("案件删除失败"); + } + return true; //mybatis-plus自带的批量删除方法【逻辑删除】 + } + + @Override + @Transactional(isolation = Isolation.DEFAULT, rollbackFor = Exception.class) + public Boolean caseArchived(CaseArchivedVO caseArchivedVO) { + try { + Long caseId = caseArchivedVO.getCaseId(); + caseInformationMapper.caseArchived(caseId); + List fileManager = caseArchivedVO.getFileManager(); + fileManager.stream().peek(item -> { + item.setCaseId(caseId); + item.setFileType(0); + }).collect(Collectors.toList()); + fileManagerService.saveBatch(fileManager); + } catch (Exception e) { + throw new RuntimeException("案件归档失败"); + } + return true; } /** @@ -357,15 +431,7 @@ public class CaseInformationServiceImpl extends ServiceImpl updateDate = newData.stream().filter(item -> CollUtil.contains(updateIds, item.getId())).collect(Collectors.toList()); List deleteData = oldData.stream().filter(item -> CollUtil.contains(deleteIds, item.getId())).collect(Collectors.toList()); - /*if (!StringUtils.isEmpty(insert)){ - informationService.saveBatch(insert); - } - if (!StringUtils.isEmpty(updateDate)){ - informationService.updateBatchById(updateDate); - } - if (!StringUtils.isEmpty(deleteData)){ - informationMapper.deleteBatchLogic(deleteData); - }*/ + if (CollUtil.isNotEmpty(insert)) { informationService.saveBatch(insert); } diff --git a/tcctlo-law-office/src/main/java/com/tcctlo/law/vo/CaseArchivedVO.java b/tcctlo-law-office/src/main/java/com/tcctlo/law/vo/CaseArchivedVO.java new file mode 100644 index 00000000..b484b64e --- /dev/null +++ b/tcctlo-law-office/src/main/java/com/tcctlo/law/vo/CaseArchivedVO.java @@ -0,0 +1,21 @@ +package com.tcctlo.law.vo; + +import com.tcctlo.law.entity.FileManager; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; + +/** + * 案件归档 + */ + +@Data +@NoArgsConstructor +@AllArgsConstructor +public class CaseArchivedVO { + private Long caseId; + + private List fileManager; +} diff --git a/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CaseInformationMapper.xml b/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CaseInformationMapper.xml index 8ed9782b..9fd3f99e 100644 --- a/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CaseInformationMapper.xml +++ b/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CaseInformationMapper.xml @@ -7,6 +7,19 @@ ci.id,ci.case_no,ci.case_name,ci.case_context,ci.business_type,ci.business_classify,ci.case_type,ci.agency_stage,ci.case_source,ci.amount_receivable,ci.amount_received_sum,ci.payment_deadline,ci.reserve_money,ci.term_of_consultancy,ci.collection_status,ci.impulse_state,ci.case_status,ci.audit_status,ci.archive_status,ci.is_finish_case,ci.audit_opinion,ci.impulse_information_ids,ci.case_lawyer_ids,ci.status,ci.del_flag,ci.create_by,ci.create_time,ci.update_by,ci.update_time,ci.remake + + update case_information ci + set ci.archive_status = 1 + where id = #{caseId} + + + update case_information ci + set ci.del_flag = 1, ci.status = 1 + where id in + + #{id} + + select * from case_lawyer cl diff --git a/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CollectionRecordMapper.xml b/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CollectionRecordMapper.xml index 19e063e2..92120785 100644 --- a/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CollectionRecordMapper.xml +++ b/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/CollectionRecordMapper.xml @@ -16,6 +16,19 @@ cr.update_time updateTime, cr.remake remake + + update collection_record cr + set cr.del_flag = 1, cr.status = 1 + where case_id in + + #{id} + + + + update collection_record cr + set cr.del_flag = 1, cr.status = 1 + where case_id = #{caseId} and id = #{id} + select * from file_manager fm diff --git a/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/ImpulseInformationMapper.xml b/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/ImpulseInformationMapper.xml index 911e0632..59e5bf97 100644 --- a/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/ImpulseInformationMapper.xml +++ b/tcctlo-law-office/src/main/resources/mapper/tcctlo-law-office/ImpulseInformationMapper.xml @@ -19,6 +19,16 @@ #{item.id} + + update impulse_information ii + set ii.del_flag = 1, + ii.status = 1, + ii.check_flag = 1 + where ii.case_id in + + #{item} + +