|
@@ -90,7 +90,14 @@
|
|
|
<select id="findSelectList"
|
|
|
resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementDTO">
|
|
|
|
|
|
- select id,business_code from zs_reimbursement_accountant_info where business_code is not null and business_code != '' group by business_code
|
|
|
+ select id,business_code as businessCode from zs_reimbursement_accountant_info where business_code is not null and business_code != '' group by business_code
|
|
|
+ </select>
|
|
|
+ <select id="findSelectYearList" resultType="java.lang.String">
|
|
|
+ SELECT year FROM `zs_reimbursement_accountant_info` GROUP BY `year` order by `year` desc
|
|
|
+ </select>
|
|
|
+ <select id="findSelectCodeListByYear"
|
|
|
+ resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementDTO">
|
|
|
+ select id,business_code as businessCode from zs_reimbursement_accountant_info where year = #{year} and business_code is not null and business_code != '' group by business_code
|
|
|
</select>
|
|
|
|
|
|
|