//审批拒绝阶段 数据处理
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user