tangzy
2021-09-15 09a73af712366265c9b7d200e1dac2fa83c82b9a
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -1168,7 +1168,7 @@
            and A.jurisdiction =#{jurisdiction}
        </if>
        <if test="deptid!=null and deptid!=''">
            and d.dept_name like concat(concat('%', #{deptid}),'%')
            and d.enterpriseName like concat(concat('%', #{deptid}),'%')
        </if>
        <if test="stats!=null and stats!=''">
            and d.stats =#{stats}
@@ -1678,7 +1678,7 @@
    <select id="selectAge" resultType="java.util.HashMap">
        SELECT
        YEAR (now()) - YEAR (substring(bu.cardid, 7, 8)) AS age
        IFNULL(YEAR (now()) - YEAR (substring(bu.cardid, 7, 8)),0) AS age
        FROM
        blade_user bu
        LEFT JOIN sys_information si ON si.departmentid = bu.dept_id