河北技术监督,国网上送接口bug修改

This commit is contained in:
wr
2023-08-25 14:55:10 +08:00
parent 60c2662e36
commit 4059db12ba
8 changed files with 23 additions and 17 deletions

View File

@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.process.pojo.param.SupvPlanParam;
import com.njcn.process.pojo.po.SupvPlan;
import com.njcn.process.pojo.vo.SupvPlanVO;
import org.apache.ibatis.annotations.Param;
/**
* <p>
@@ -17,5 +18,6 @@ import com.njcn.process.pojo.vo.SupvPlanVO;
*/
public interface SupvPlanMapper extends BaseMapper<SupvPlan> {
Boolean updateId(@Param("isUploadHead")Integer isUploadHead,
@Param("id") String id);
}

View File

@@ -3,6 +3,7 @@ package com.njcn.process.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.process.pojo.po.SupvProblem;
import org.apache.ibatis.annotations.Param;
/**
* <p>
@@ -14,4 +15,6 @@ import com.njcn.process.pojo.po.SupvProblem;
*/
public interface SupvProblemMapper extends BaseMapper<SupvProblem> {
Boolean updateId(@Param("isUploadHead")Integer isUploadHead,
@Param("id") String id);
}

View File

@@ -25,4 +25,6 @@ public interface SupvReportMMapper extends MppBaseMapper<SupvReportM> {
List<ProcessPublicDTO> statisticQueReport(@Param("startTime")LocalDateTime startTime, @Param("endTime")LocalDateTime endTime, @Param("statisticType")String statisticType,@Param("rectificationStatus")String rectificationStatus,@Param("objType")String objType);
Boolean updateId(@Param("isUploadHead")Integer isUploadHead,
@Param("id") String id);
}

View File

@@ -3,4 +3,7 @@
<mapper namespace="com.njcn.process.mapper.SupvPlanMapper">
<update id="updateId">
update supv_plan set is_upload_head= #{isUploadHead} where plan_Id=#{id}
</update>
</mapper>

View File

@@ -2,4 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.process.mapper.SupvProblemMapper">
<update id="updateId">
update supv_problem set is_upload_head= #{isUploadHead} where problem_Id=#{id}
</update>
</mapper>

View File

@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.process.mapper.SupvReportMMapper">
<update id="updateId">
update supv_report_m set is_upload_head= #{isUploadHead} where month_Report_Id=#{id}
</update>
<select id="statisticPlanReport" resultType="ProcessPublicDTO">
select count(1) value,supv_Org_Id id from supv_plan