feat:云流水

This commit is contained in:
苏竹红
2025-04-16 15:08:23 +08:00
parent 9a09be5ce3
commit 6fb703d624
7 changed files with 39 additions and 21 deletions

View File

@@ -85,8 +85,8 @@ public class ShopAccountDAO {
* @param status 状态
* @return 影响的行数
*/
public int updateStatusByShopIdAndSystemName(Long shopId, List<String> systemNameList, Integer status,Date syncTime){
return shopAccountMapper.updateStatusByShopIdAndSystemName(shopId,systemNameList,status,syncTime);
public int updateStatusByShopIdAndSystemName(Long shopId, List<String> systemNameList, Integer status,Date syncTime,String ylsCode){
return shopAccountMapper.updateStatusByShopIdAndSystemName(shopId,systemNameList,status,syncTime,ylsCode);
}
public int updateEntryStatusByShopIdAndSystemName(Long shopId, List<String> systemNameList, Integer status){

View File

@@ -43,7 +43,9 @@ public interface ShopAccountMapper extends Mapper<ShopAccountDO> {
int updateStatusByShopIdAndSystemName(
@Param("shopId") Long shopId,
@Param("systemNameList") List<String> systemNameList,
@Param("status") Integer status, @Param("syncTime") Date lastSyncTime
@Param("status") Integer status,
@Param("syncTime") Date lastSyncTime,
@Param("ylsCode") String ylsCode
);
int updateEntryStatusByShopIdAndSystemName(

View File

@@ -103,6 +103,9 @@
<if test="syncTime != null">
last_sync_time = #{syncTime},
</if>
<if test="ylsCode != null">
account = #{ylsCode},
</if>
</set>
WHERE
shop_id = #{shopId}