Compare commits

..

No commits in common. '3f0464e2495eddfc47e15952fe28c794f21886c6' and 'd52d4a8b01ee7a002d6155b86a9c9be5b7c7970f' have entirely different histories.

  1. 6
      hai-service/src/main/java/com/hai/service/HighGasOilGunNoService.java
  2. 7
      hai-service/src/main/java/com/hai/service/impl/HighGasOilGunNoServiceImpl.java
  3. 6
      hai-service/src/main/java/com/hai/service/impl/HighGasServiceImpl.java

@ -23,12 +23,6 @@ public interface HighGasOilGunNoService {
*/
HighGasOilGunNo getGunNoById(Long id);
/**
* 清除油号
* @param storeId
*/
void cleanGunNo(Long storeId);
/**
* 根据门店和抢号查询
* @param storeId

@ -34,13 +34,6 @@ public class HighGasOilGunNoServiceImpl implements HighGasOilGunNoService {
return gasOilGunNoMapper.selectByPrimaryKey(id);
}
@Override
public void cleanGunNo(Long storeId) {
HighGasOilGunNoExample example = new HighGasOilGunNoExample();
example.createCriteria().andStoreIdEqualTo(storeId);
gasOilGunNoMapper.deleteByExample(example);
}
@Override
public HighGasOilGunNo getDetailByStoreAndGunNo(Long storeId, String gunNo) {
HighGasOilGunNoExample example = new HighGasOilGunNoExample();

@ -98,8 +98,6 @@ public class HighGasServiceImpl implements HighGasService {
store.setUpdateTime(new Date());
highMerchantStoreService.updateMerchantStoreDetail(store);
gasOilGunNoService.cleanGunNo(store.getId());
JSONArray oilPriceList = station.getJSONArray("oilPriceList");
for (Object oilPrice : oilPriceList) {
JSONObject oilPriceObject = JSONObject.parseObject(JSONObject.toJSONString(oilPrice));
@ -299,8 +297,6 @@ public class HighGasServiceImpl implements HighGasService {
store.setUpdateTime(new Date());
highMerchantStoreService.updateMerchantStoreDetail(store);
gasOilGunNoService.cleanGunNo(store.getId());
JSONArray oilPriceList = station.getJSONArray("oilPriceList");
for (Object oilPrice : oilPriceList) {
JSONObject oilPriceObject = JSONObject.parseObject(JSONObject.toJSONString(oilPrice));
@ -661,8 +657,6 @@ public class HighGasServiceImpl implements HighGasService {
store.setUpdateTime(new Date());
highMerchantStoreService.updateMerchantStoreDetail(store);
gasOilGunNoService.cleanGunNo(store.getId());
JSONArray oilPriceList = station.getJSONArray("oils");
for (Object oilPrice : oilPriceList) {
JSONObject oilPriceObject = JSONObject.parseObject(JSONObject.toJSONString(oilPrice));

Loading…
Cancel
Save