diff --git a/order-management-base-service/src/main/java/com/dxhy/order/baseservice/module/thirdservice/simsback/controller/SimsBackController.java b/order-management-base-service/src/main/java/com/dxhy/order/baseservice/module/thirdservice/simsback/controller/SimsBackController.java index fe81c96a..a122079e 100644 --- a/order-management-base-service/src/main/java/com/dxhy/order/baseservice/module/thirdservice/simsback/controller/SimsBackController.java +++ b/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(); + } }