Commit ba05c7af by 陶光胜

门店品牌变更

parent 94f0699b
......@@ -121,9 +121,11 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
storeDTO.setFromEnterpriseId(fromEnterpriseId);
int logId = this.authStoreLogService.saveAuthStoreLog(storeDTO.getStoreInfoId(), fromEnterpriseId, toEnterpriseId, key);
this.saveStore(storeDTO, logId);
log.info("是否最后一条:{}", isEnd);
if(isEnd == 1){
int count = this.authStoreLogService.getCount(key, 2);
int total = this.authStoreLogService.getCount(key, null);
log.info("失败条数:{}", count);
if(count > 0){
this.unionEnterpriseAuthResDetailApiService.unionForStore(UnionEnterpriseAuthDetailStatusEnum.AUTH_PART_FAIL.getCode(), fromEnterpriseId, toEnterpriseId, key, "成功授权"+(total-count)+"条数据,失败"+count+"条");
}else {
......
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