feature 1.新增删除税控设备缓存接口

release
zhenghaiyang@ele-cloud.com 2 years ago
parent 0f9c8fd98d
commit 8d10008b66
  1. 24
      order-management-base-service/src/main/java/com/dxhy/order/baseservice/module/thirdservice/simsback/controller/SimsBackController.java

@ -1,18 +1,15 @@
package com.dxhy.order.baseservice.module.thirdservice.simsback.controller;
import com.dxhy.order.model.R;
import com.dxhy.order.model.TaxEquipmentInfo;
import com.dxhy.order.utils.JsonUtils;
import com.dxhy.order.baseservice.module.thirdservice.simsback.model.PageQueryTaxEquipment;
import com.dxhy.order.baseservice.module.thirdservice.simsback.service.SimsBackService;
import com.dxhy.order.baseservice.openapi.protocol.back.PageQueryGroupTaxEquipmentReq;
import com.dxhy.order.model.R;
import com.dxhy.order.model.TaxEquipmentInfo;
import com.dxhy.order.utils.JsonUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.List;
@ -60,4 +57,17 @@ public class SimsBackController {
return R.ok(dataList);
}
/**
* 对外重新缓存税控设备
*
* @param reCacheSksb
* @return
*/
@ApiOperation(value = "订单对外接口-对外重新缓存税控设备", notes = "订单对外接口-对外重新缓存税控设备")
@RequestMapping(value = "/reCacheSksb", method = RequestMethod.POST)
public R reCacheSksb(@RequestParam String nsrsbh,@RequestParam String entId ) {
simsBackService.reCacheTaxEquipmentInfo(nsrsbh,entId);
return R.ok();
}
}

Loading…
Cancel
Save