heheng
yesterday a3d63a4a7199d346e63039a8fd6490b12387fa4e
multi-system/src/main/resources/mapper/system/ContractLedgerMapper.xml
@@ -14,7 +14,8 @@
            cl.`create_by`,
            cl.`create_time`,
            cl.`update_by`,
            cl.`update_time`
            cl.`update_time`,
            cl.`deliver`
        FROM
            `contract_ledger` cl
                LEFT JOIN sys_company sc ON cl.company_id = sc.id
@@ -23,6 +24,9 @@
            <if test="companyId!=null">
                and cl.company_id = #{companyId}
            </if>
        <if test="year != null and year != ''">
            AND DATE_FORMAT(cl.sign_date, '%Y') = #{year}
        </if>
        ORDER BY
            cl.create_time DESC
    </select>