Browse Source

Merge branch 'wxz_bug_fix'

dev
wxz 2 years ago
parent
commit
a8d531ea20
  1. 4
      epmet-module/gov-project/gov-project-server/src/main/resources/mapper/IcEventDao.xml
  2. 2
      epmet-user/epmet-user-server/src/main/java/com/epmet/processor/YanTaiTripReportSyncProcessor.java

4
epmet-module/gov-project/gov-project-server/src/main/resources/mapper/IcEventDao.xml

@ -28,6 +28,7 @@
<if test="orgType == 'grid'">
and e.GRID_ID=#{orgId}
</if>
and e.DEL_FLAG = '0'
and CUSTOMER_ID = #{customerId}
and HAPPEN_TIME >= #{queryStartTime}
and HAPPEN_TIME <![CDATA[<=]]> #{queryEndTime}
@ -81,7 +82,8 @@
select date_format(e.HAPPEN_TIME, '%Y-%m') monthName
from ic_event e
<where>
e.HAPPEN_TIME >= date_format(#{queryStartTime}, '%Y-%m')
e.DEL_FLAG = '0'
and e.HAPPEN_TIME >= date_format(#{queryStartTime}, '%Y-%m')
and e.HAPPEN_TIME <![CDATA[ <= ]]> date_format(#{queryEndTime}, '%Y-%m')
<if test="orgType == 'grid'">
and e.GRID_ID =#{orgId}

2
epmet-user/epmet-user-server/src/main/java/com/epmet/processor/YanTaiTripReportSyncProcessor.java

@ -16,7 +16,7 @@ import static com.epmet.constant.EpidemicConstant.JOB_TYPE_VACCINE;
* @Author zxc
* @Date 2022/11/22 14:08
*/
@Component
// @Component
@Slf4j
public class YanTaiTripReportSyncProcessor extends AbstractDataSyncJobProcessor {

Loading…
Cancel
Save