Commit cd58594b authored by fangxinjiang's avatar fangxinjiang

商险 提醒

parent d94a4ec1
...@@ -394,4 +394,16 @@ public class InsuranceDetailVO implements Serializable { ...@@ -394,4 +394,16 @@ public class InsuranceDetailVO implements Serializable {
*/ */
@Schema(description = "操作记录列表") @Schema(description = "操作记录列表")
List<TBusinessOperate> operateList; List<TBusinessOperate> operateList;
/**
* 忽略提醒 0:忽略 1:不忽略
*/
@Schema(description = "有忽略提醒 0:忽略 1:不忽略")
private String expireIgnoreFlag;
/**
* 消息提醒备注
*/
@Schema(description = "消息提醒备注")
private String expireRemark;
} }
...@@ -17,7 +17,6 @@ import com.yifu.cloud.plus.v1.yifu.social.vo.ChangeDeptVo; ...@@ -17,7 +17,6 @@ import com.yifu.cloud.plus.v1.yifu.social.vo.ChangeDeptVo;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.apache.commons.lang3.RandomStringUtils;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
......
...@@ -106,7 +106,7 @@ public class TInsurancesWarnController { ...@@ -106,7 +106,7 @@ public class TInsurancesWarnController {
@SysLog("到期提醒批量忽略") @SysLog("到期提醒批量忽略")
@PutMapping("/batchexpireIgnore") @PutMapping("/batchexpireIgnore")
@PreAuthorize("@pms.hasPermission('wxhr:insurance_expireignore')") @PreAuthorize("@pms.hasPermission('wxhr:insurance_expireignore')")
public R<Object> batchexpireIgnore(@RequestParam("ids") String ids) { public R<Object> batchexpireIgnore(@RequestBody String ids) {
return insuranceDetailService.batchexpireIgnore(ids); return insuranceDetailService.batchexpireIgnore(ids);
} }
......
...@@ -355,7 +355,9 @@ ...@@ -355,7 +355,9 @@
a.BILLING_TYPE as billingType, a.BILLING_TYPE as billingType,
a.DEFAULT_SETTLE_ID as defaultSettleId, a.DEFAULT_SETTLE_ID as defaultSettleId,
a.RATE as rate, a.RATE as rate,
a.REFUND_ID as refundId a.REFUND_ID as refundId,
a.EXPIRE_REMARK,
a.EXPIRE_IGNORE_FLAG
from t_insurance_detail a from t_insurance_detail a
left join t_insurance_settle tis on a.DEFAULT_SETTLE_ID = tis.ID left join t_insurance_settle tis on a.DEFAULT_SETTLE_ID = tis.ID
where a.ID = #{id} where a.ID = #{id}
...@@ -1720,17 +1722,14 @@ ...@@ -1720,17 +1722,14 @@
order by a.CREATE_TIME desc order by a.CREATE_TIME desc
</select> </select>
<update id="batchexpireIgnore"> <update id="batchexpireIgnore">
<if test="idList != null and idList.size() > 0">
update t_insurance_detail a update t_insurance_detail a
set a.EXPIRE_IGNORE_FLAG = '0' set a.EXPIRE_IGNORE_FLAG = '0'
where where
<if test="idList != null and idList.size() > 0">
a.id in a.id in
<foreach collection="idList" item="param" index="index" open="(" close=")" separator=","> <foreach collection="idList" item="param" index="index" open="(" close=")" separator=",">
#{param} #{param}
</foreach> </foreach>
</if> </if>
<if test="idList == null or idList.size() = 0">
1=2
</if>
</update> </update>
</mapper> </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