feat: 顺德人医,手麻视图采集,添加作废旧文件数据再采集

master
wyb 11 months ago
parent 8af2dd5342
commit 905125c4ef

@ -2,11 +2,11 @@ package com.docus.server.archive.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TBasicMapper {
int invalidFileBySource(@Param("patientId") String patientId,@Param("collectorId") String collectorId);
}

@ -69,6 +69,8 @@ public class CollectJob {
if (size <= 0) {
return;
}
tBasicMapper.invalidFileBySource(downTwoDto.getPatientId(),collectorId);
ReportDownPatientDto patient = new ReportDownPatientDto();
patient.setPatientid(downTwoDto.getPatientId());

@ -4,4 +4,9 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.docus.server.archive.mapper.TBasicMapper">
<update id="invalidFileBySource">
update docus_archivefile.t_scan_assort set is_del=1
where patient_id =#{patientId} and source= #{collectorId}
</update>
</mapper>

Loading…
Cancel
Save