lidongdong
2023-11-17 be98de6d62bebd3dc2bff75f84bf192a4f07c613
修改单位任务列表3
3个文件已修改
11 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/partybuilding/NeedProblemInventoryDTO.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/partybuilding/NeedProblemUnitTaskDTO.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/NeedProblemUnitTaskMapper.xml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/partybuilding/NeedProblemInventoryDTO.java
@@ -20,6 +20,9 @@
    @ApiModelProperty("社区id")
    private String communityId;
    @ApiModelProperty("分类名称")
    private String classifyName;
    @ApiModelProperty("分类id")
    private String classifyId;
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/partybuilding/NeedProblemUnitTaskDTO.java
@@ -23,6 +23,9 @@
    @ApiModelProperty("分类id")
    private String classifyId;
    @ApiModelProperty("分类名称")
    private String classifyName;
    @ApiModelProperty("认领人数")
    private String claimNum;
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/NeedProblemUnitTaskMapper.xml
@@ -39,17 +39,20 @@
            nput.user_id as unitUserId,
            nput.unit_id,
            npi.status,
            canct.name as classifyName,
            nput.creation_time,
            nput.update_time
        FROM
            new_fight_need_problem_unit_task as nput
        LEFT JOIN new_fight_need_problem_inventory AS npi ON npi.id=nput.task_id
        left join com_act_neighbor_circle_topic as canct on canct.id=npi.classify_id
        <where>
            1=1
            <if test="unitId !=null and unitId != '' ">
                and nput.unit_id =#{unitId}
            </if>
        </where>
        GROUP BY nput.id
    </select>
    <select id="getDetails" resultType="com.panzhihua.common.model.dtos.partybuilding.NeedProblemUnitTaskDTO">
@@ -79,10 +82,12 @@
            nput.user_id as unitUserId,
            nput.unit_id,
            npi.status,
            canct.name as classifyName,
            nput.creation_time,
            nput.update_time
        FROM new_fight_need_problem_unit_task as nput
        LEFT JOIN new_fight_need_problem_inventory AS npi ON npi.task_id=nput.id
        left join com_act_neighbor_circle_topic as canct on canct.id=npi.classify_id
        <where>
            1=1
            <if test="id !=null and id != '' ">