//审批拒绝阶段 数据处理

This commit is contained in:
shuo.wang
2025-06-06 11:34:09 +08:00
parent d6051898c0
commit d71dfb05c5
4 changed files with 22 additions and 0 deletions

View File

@@ -108,4 +108,10 @@ public class LinePayDAO {
}
return linePayMapper.updateXgjClaimStatus(shopIds,xgjClaimStatus,payBusinessType);
}
public Integer deleteByShopId(List<Long> shopIds){
if (CollectionUtils.isEmpty(shopIds)){
return null;
}
return linePayMapper.deleteByShopId(shopIds);
}
}

View File

@@ -68,4 +68,6 @@ public interface LinePayMapper {
Integer dataUpdateLinePay(@Param("list") List<LinePayDO> linePayDOList);
Integer updateXgjClaimStatus(@Param("list") List<Long> shopIds,@Param("xgjClaimStatus") Integer xgjClaimStatus,@Param("payBusinessType") Integer payBusinessType);
Integer deleteByShopId(@Param("list")List<Long> shopIds);
}

View File

@@ -48,6 +48,14 @@
from xfsg_line_pay
where id = #{id,jdbcType=BIGINT}
</delete>
<update id="deleteByShopId">
update xfsg_line_pay
set deleted = 1
where shop_id in
<foreach collection="list" index="index" item="item" separator="," open="(" close=")">
#{item}
</foreach>
</update>
<insert id="insertSelective" parameterType="com.cool.store.entity.LinePayDO">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()