fengjin
2022-10-15 d5c3a3763408b3af6e528fdd77c0eeb00953444b
修改Bug
2个文件已修改
5 ■■■■■ 已修改文件
flower_city/src/main/java/com/dg/core/db/gen/entity/TransactionEvent.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flower_city/src/main/resources/mapper/OrganizationChartMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flower_city/src/main/java/com/dg/core/db/gen/entity/TransactionEvent.java
@@ -42,6 +42,7 @@
     /**
     * 部门电话
     */
     @TableField(exist = false)
    @ApiModelProperty("部门电话")
    private String contactNumber;
flower_city/src/main/resources/mapper/OrganizationChartMapper.xml
@@ -87,8 +87,8 @@
    <select id="selectByKeyWord" resultMap="OrganizationChartResult">
        <include refid="selectOrganizationChartVo"/>
        where organization_name like concat('%', #{keyWord}, '%') or #{keyWord} like concat('%', organization_name, '%')
        or detailed_address like concat('%', #{keyWord}, '%') or #{keyWord} like concat('%', detailed_address, '%')
        or resume like concat('%', #{keyWord}, '%') or #{keyWord} like concat('%', resume, '%')
        or((detailed_address like concat('%', #{keyWord}, '%') or #{keyWord} like concat('%', detailed_address, '%'))   and TRIM(detailed_address)  !=  '')
        or((resume like concat('%', #{keyWord}, '%') or #{keyWord} like concat('%', resume, '%')) and  TRIM(resume)  !=  '' )
    </select>
    <select id="selectByCode" resultMap="OrganizationChartResult">