数据处理

This commit is contained in:
shuo.wang
2025-06-04 14:30:04 +08:00
parent a101a89c21
commit e14806db30
12 changed files with 134 additions and 1 deletions

View File

@@ -26,4 +26,11 @@ public class FranchiseFeeDAO {
}
return franchiseFeeMapper.updateBill(list);
}
public Integer batchUpdateXgjCollectionStatus(List<Long> shopIds,Integer collectionStatus){
if (CollectionUtils.isEmpty(shopIds)|| collectionStatus==null){
return 0;
}
return franchiseFeeMapper.batchUpdateXgjCollectionStatus(shopIds,collectionStatus);
}
}

View File

@@ -87,4 +87,14 @@ public class LinePayDAO {
public Integer deleteById(Long id,String userId) {
return linePayMapper.deleteById(id,userId);
}
//数据处理专用0604查询加盟费阶段缴费信息
public List<LinePayDO> getDateHandler() {
return linePayMapper.getDateHandler();
}
//数据处理专用0604处理paytime paypic
public Integer dataUpdateLinePay(List<LinePayDO> linePayDOList) {
if (CollectionUtils.isEmpty(linePayDOList)){
return null;
}
}
}

View File

@@ -466,4 +466,10 @@ public class ShopStageInfoDAO {
example.createCriteria().andIn("shopId",shopIds).andEqualTo("shopStage",shopStage);
return shopStageInfoMapper.selectByExample(example);
}
//查询处于xx状态的数据
public List<ShopStageInfoDO> getShopStageInfoByShopSubStageStatus(Integer shopSubStageStatus) {
Example example = new Example(ShopStageInfoDO.class);
example.createCriteria().andEqualTo("shopSubStageStatus", shopSubStageStatus);
return shopStageInfoMapper.selectByExample(example);
}
}

View File

@@ -24,4 +24,6 @@ public interface FranchiseFeeMapper extends Mapper<FranchiseFeeDO> {
* @description: 数据处理修改账单
*/
Integer updateBill(@Param("list") List<FranchiseFeeDO> list);
Integer batchUpdateXgjCollectionStatus(@Param("shopIds")List<Long> shopId, @Param("collectionStatus")Integer collectionStatus);
}

View File

@@ -60,4 +60,8 @@ public interface LinePayMapper {
List<LinePayDO>getFranchiseFeePayInfoByShopId(@Param("shopId") Long shopId);
Integer deleteById(@Param("id") Long id,@Param("userId")String userId);
//数据处理专用0604查询加盟费阶段缴费信息
List<LinePayDO> getDateHandler();
Integer dataUpdateLinePay(@Param("list") List<LinePayDO> linePayDOList);
}

View File

@@ -32,6 +32,14 @@
where shop_id = #{item.shopId}
</foreach>
</update>
<update id="batchUpdateXgjCollectionStatus">
update xfsg_franchise_fee
set xgj_collection_status = #{collectionStatus}
where shop_id in
<foreach collection="shopIds" item="shopId" open="(" separator="," close=")">
#{shopId}
</foreach>
</update>
<select id="selectByShopId" resultType="com.cool.store.entity.FranchiseFeeDO">
select *

View File

@@ -390,7 +390,11 @@
<select id="getFranchiseFeePayInfoByShopId" resultType="com.cool.store.entity.LinePayDO">
select * from xfsg_line_pay where deleted = 0 and shop_id = #{shopId} and pay_business_type = 1 order by create_time desc
</select>
<select id="getDateHandler" resultType="com.cool.store.entity.LinePayDO">
select * from xfsg_line_pay where deleted = 0 and pay_business_type = 1 and pay_pic is null and combined_field is not null
</select>
<update id="deleteById">
update xfsg_line_pay set deleted = 1 ,update_time = now(),update_user_id = #{userId} where id = #{id}
</update>
<update id="dataUpdateLinePay"></update>
</mapper>