This commit is contained in:
parent
6888cedbd5
commit
aadecccbe2
|
|
@ -35,6 +35,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.ApplicationContext;
|
import org.springframework.context.ApplicationContext;
|
||||||
import org.springframework.scheduling.annotation.Async;
|
import org.springframework.scheduling.annotation.Async;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
import javax.persistence.criteria.Predicate;
|
import javax.persistence.criteria.Predicate;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
@ -207,6 +208,7 @@ public class TbShopSyncInfoServiceImpl extends ServiceImpl<TbShopSyncInfoMapper,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Transactional(rollbackFor = Exception.class)
|
||||||
@Override
|
@Override
|
||||||
public void clear(TbShopSyncInfo tbShopSyncInfo) {
|
public void clear(TbShopSyncInfo tbShopSyncInfo) {
|
||||||
unitRepository.clearShopUnit(tbShopSyncInfo.getPointShopId().toString());
|
unitRepository.clearShopUnit(tbShopSyncInfo.getPointShopId().toString());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue