lidongdong
2022-10-19 de1e3af81b7dbde6f077f2abeacda7059fee21bb
修改【办事指南】:缺少复制  bug
4个文件已修改
80 ■■■■■ 已修改文件
flower_city/src/main/java/com/dg/core/controller/GuideDoController.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flower_city/src/main/java/com/dg/core/controller/TransactionEventController.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flower_city/src/main/java/com/dg/core/db/gen/entity/TransactionEvent.java 49 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flower_city/src/main/resources/mapper/TransactionEventMapper.xml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flower_city/src/main/java/com/dg/core/controller/GuideDoController.java
@@ -197,7 +197,8 @@
    @GetMapping("/selectListByDepartmentId")
    @Authorization
    public ResultData selectListByDepartmentId(@RequestParam("departmentId") String departmentId,
                                               @RequestParam(value = "classifyId",required = false) String classifyId){
                                               @RequestParam(value = "classifyId",required = false) String classifyId)
    {
        return  ResultData.success(IUserService.selectListByDepartmentId(departmentId,classifyId));
    }
flower_city/src/main/java/com/dg/core/controller/TransactionEventController.java
@@ -239,4 +239,30 @@
    }
    /**
     * 办事指南复制
     * @return
     */
    @ApiOperation(value = "办事指南复制",response = ResultData.class)
    @GetMapping("/copy")
    public ResultData copy(@RequestParam("Id") String Id)
    {
        if(StringUtils.isEmpty(Id))
        {
            return ResultData.error("Id不能为空");
        }
        TransactionEvent transactionEvent=iTransactionEventService.selectConfigData(Id,null);
        if(transactionEvent==null)
        {
            return ResultData.error("复制项不存在");
        }
        transactionEvent.setId(null);
        return toAjax(iTransactionEventService.insertConfig(transactionEvent));
    }
}
flower_city/src/main/java/com/dg/core/db/gen/entity/TransactionEvent.java
@@ -96,15 +96,15 @@
    private String basicInformation;
    /**
     * 受理条件
     * 现场申报
     */
    @ApiModelProperty("受理条件")
    @ApiModelProperty("现场申报")
    private String acceptConditions;
    /**
     * 申请材料
     *  办理区域
     */
    @ApiModelProperty("申请材料")
    @ApiModelProperty("办理区域")
    private String applicationMaterial;
    /**
@@ -114,9 +114,9 @@
    private String handlingProcedures;
    /**
     * 收费标准
     * 网上申报
     */
    @ApiModelProperty("收费标准")
    @ApiModelProperty("网上申报")
    private String rates;
    /**
@@ -132,7 +132,6 @@
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    /**
     * 联想词内容 , 连接
@@ -151,14 +150,14 @@
    @ApiModelProperty("基础信息附件url")
    private String basicInformationUrl;
    /**
     * 受理条件附件url
     * 现场申报附件url
     */
    @ApiModelProperty("受理条件附件url")
    @ApiModelProperty("现场申报附件url")
    private String acceptConditionsUrl;
    /**
     * 申请材料附件url
     * 办理区域附件url
     */
    @ApiModelProperty("申请材料附件url")
    @ApiModelProperty("办理区域附件url")
    private String applicationMaterialUrl;
    /**
     * 办理流程附件url
@@ -166,9 +165,9 @@
    @ApiModelProperty("办理流程附件url")
    private String handlingProceduresUrl;
    /**
     * 收费标准附件url
     * 网上申报附件url
     */
    @ApiModelProperty("收费标准附件url")
    @ApiModelProperty("网上申报附件url")
    private String ratesUrl;
    /**
     * 基础信息附件url
@@ -176,14 +175,14 @@
    @ApiModelProperty("基础信息附件url")
    private String basicInformationFileName;
    /**
     * 附件url
     * 现场申报附件url
     */
    @ApiModelProperty("附件url")
    @ApiModelProperty("现场申报附件url")
    private String acceptConditionsFileName;
    /**
     * 申请材料文件名称
     * 办理区域文件名称
     */
    @ApiModelProperty("申请材料文件名称")
    @ApiModelProperty("办理区域文件名称")
    private String applicationMaterialFileName;
    /**
     * 办理流程文件名称
@@ -191,11 +190,10 @@
    @ApiModelProperty("办理流程文件名称")
    private String handlingProceduresFileName;
    /**
     * 收费标准文件名称
     * 网上申报文件名称
     */
    @ApiModelProperty("收费标准文件名称")
    @ApiModelProperty("网上申报文件名称")
    private String ratesFileName;
    /**
     * 操作指引附件url
@@ -203,14 +201,11 @@
    @ApiModelProperty("操作指引附件url")
    private String operationalGuidelineUrl;
   /**
     * 操作指引视频url
     */
    @ApiModelProperty("操作指引视频url")
    private String operationalGuidelineVideoUrl;
    /**
     * 设定依据
@@ -247,13 +242,13 @@
    private String commonProblemName;
    @ApiModelProperty("办理区域")
    @ApiModelProperty("手机移动端申报")
    private String transactionArea;
    @ApiModelProperty("办理区域url")
    @ApiModelProperty("手机移动端申报url")
    private String transactionAreaUrl;
    @ApiModelProperty("办理区域文件名称")
    @ApiModelProperty("手机移动端申报文件名称")
    private String transactionAreaName;
@@ -268,8 +263,6 @@
    @TableField(exist = false)
    @ApiModelProperty(name = "sumClassifyName", value = "分类总名称")
    String  sumClassifyName;
    @ApiModelProperty(name = "operationalGuidelineVideoName", value = "操作指南视频名称")
    private String  operationalGuidelineVideoName;
flower_city/src/main/resources/mapper/TransactionEventMapper.xml
@@ -156,6 +156,7 @@
                AND (matter_name like concat('%', #{keyword}, '%')) or
                    (department_id in (SELECT id FROM automessage_organization_chart WHERE organization_name like concat('%', #{keyword}, '%')))
                    or (classify_id in (SELECT id FROM automessage_classify_administration WHERE classify_name like concat('%', #{keyword}, '%')))
                    or (associate_names like concat('%', #{keyword}, '%'))
            </if>
            <if test="classifyGrade != null and classifyGrade != ''">
                AND (select classify_grade from automessage_classify_administration where automessage_classify_administration.id=classify_id) = #{classifyGrade}
@@ -325,6 +326,7 @@
                AND (matter_name like concat('%', #{keyword}, '%')) or
                (department_id in (SELECT id FROM automessage_organization_chart WHERE organization_name like concat('%', #{keyword}, '%')))
                or (classify_id in (SELECT id FROM automessage_classify_administration WHERE classify_name like concat('%', #{keyword}, '%')))
                or (associate_names like concat('%', #{keyword}, '%'))
            </if>
            <if test="classifyGrade != null and classifyGrade != ''">
                AND (select classify_grade from classify_administration where classify_grade.id=classify_id) = #{classifyGrade}