From dcd1aab9b5bec2556161c16bd1bc4fe71fef476d Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 08 六月 2026 17:17:47 +0800
Subject: [PATCH] 关于社保补缴的计算,如果社保保险设置有多条数据,根据创建时间来判断,当月即以后得参考标准用对应的配置,并且需要统计当年从1月到现在缴纳的所有社保金额,和最新的社保比列得出的金额进行比较,计算需要补缴的金额,只有社会保险设置新增一条数据的当月会计算,其余月份对应的都是0
---
src/main/resources/mapper/system/SysNoticeMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/system/SysNoticeMapper.xml b/src/main/resources/mapper/system/SysNoticeMapper.xml
index f1aba88..14372d8 100644
--- a/src/main/resources/mapper/system/SysNoticeMapper.xml
+++ b/src/main/resources/mapper/system/SysNoticeMapper.xml
@@ -10,11 +10,16 @@
<result property="noticeType" column="notice_type" />
<result property="noticeContent" column="notice_content" />
<result property="status" column="status" />
+ <result property="senderId" column="sender_id" />
+ <result property="consigneeId" column="consignee_id" />
+ <result property="jumpPath" column="jump_path" />
+ <result property="appJumpPath" column="app_jump_path" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
+ <result property="tenantId" column="tenant_id" />
</resultMap>
<sql id="selectNoticeVo">
@@ -31,6 +36,7 @@
sender_id,
consignee_id,
jump_path,
+ app_jump_path,
tenant_id
from sys_notice
</sql>
@@ -75,6 +81,7 @@
<if test="senderId != null and senderId != ''">sender_id,</if>
<if test="consigneeId != null and consigneeId != ''">consignee_id,</if>
<if test="jumpPath != null and jumpPath != ''">jump_path,</if>
+ <if test="appJumpPath != null and appJumpPath != ''">app_jump_path,</if>
<if test="createBy != null and createBy != ''">create_by,</if>
<if test="tenantId != null and tenantId != ''">tenant_id,</if>
create_time
@@ -87,6 +94,7 @@
<if test="senderId != null and senderId != ''">#{senderId},</if>
<if test="consigneeId != null and consigneeId != ''">#{consigneeId},</if>
<if test="jumpPath != null and jumpPath != ''">#{jumpPath},</if>
+ <if test="appJumpPath != null and appJumpPath != ''">#{appJumpPath},</if>
<if test="pathParms != null and pathParms != ''">#{queryParms},</if>
<if test="createBy != null and createBy != ''">#{createBy},</if>
<if test="tenantId != null and tenantId != ''">#{tenantId},</if>
--
Gitblit v1.9.3