Merge branch 'release/3.0.2.2504.01' into release/个税&业务线
This commit is contained in:
commit
cca13614e3
|
|
@ -143,6 +143,9 @@
|
|||
<if test="taxCycleDateRange != null and taxCycleDateRange.endDate != null">
|
||||
AND t.tax_cycle <![CDATA[ <= ]]> #{taxCycleDateRange.endDate}
|
||||
</if>
|
||||
<if test="taxAgentId != null">
|
||||
AND sob.tax_agent_id = #{taxAgentId}
|
||||
</if>
|
||||
ORDER BY t.id DESC
|
||||
</select>
|
||||
<select id="listByCreateDate" resultType="com.engine.salary.entity.salaryacct.po.SalaryAcctRecordPO">
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ public class TaxDeclarationServiceImpl extends Service implements TaxDeclaration
|
|||
.replace("{1}", SalaryDateUtil.getFormatYearMonth(saveParam.getSalaryMonth())));
|
||||
}
|
||||
// 查询薪资所属月的薪资核算记录
|
||||
salaryAcctRecordPOS = listBySalaryMonth(SalaryAcctRecordPO.builder().salaryMonths(salaryMonthDateRange).build());
|
||||
salaryAcctRecordPOS = listBySalaryMonth(SalaryAcctRecordPO.builder().salaryMonths(salaryMonthDateRange).taxAgentId(taxAgentId).build());
|
||||
|
||||
// 无薪资核算记录,不允许生成个税申报表
|
||||
if (CollectionUtils.isEmpty(salaryAcctRecordPOS)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue