Commit 63d7bff7 authored by huyuchen's avatar huyuchen

劳务费稿酬生成修改

parent 8d8bda28
......@@ -95,6 +95,6 @@
a.INVOICE_TITLE DECLARE_UNIT,'一般劳务报酬所得' INCOME_ITEM,'居民身份证' CARD_TYPE
from t_salary_account a
where a.DELETE_FLAG = 0 and a.SETTLEMENT_MONTH = #{lastMonth} and a.FORM_TYPE = '3'
GROUP BY a.EMP_IDCARD,a.EMP_NAME
GROUP BY a.EMP_IDCARD,DECLARE_UNIT
</select>
</mapper>
......@@ -91,6 +91,6 @@
sum(a.ACTUAL_SALARY) INCOME,a.INVOICE_TITLE DECLARE_UNIT,'居民身份证' CARD_TYPE
from t_salary_account a
where a.DELETE_FLAG = 0 and a.SETTLEMENT_MONTH = #{lastMonth} and a.FORM_TYPE = '4'
GROUP BY a.EMP_IDCARD,a.EMP_NAME
GROUP BY a.EMP_IDCARD,DECLARE_UNIT
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment