update 后管sim卡管理页面新增刷新功能

This commit is contained in:
Lemon
2024-11-04 14:41:59 +08:00
parent 002b751337
commit ecb62f73e5
6 changed files with 68 additions and 15 deletions

View File

@@ -12,6 +12,7 @@ import com.jsowell.pile.dto.SimRenewDTO;
import com.jsowell.pile.service.PileSimInfoService;
import com.jsowell.pile.service.SimCardService;
import com.jsowell.pile.vo.web.SimCardInfoVO;
import com.jsowell.pile.vo.web.SimCardVO;
import com.jsowell.pile.vo.web.SimRenewResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
@@ -75,6 +76,16 @@ public class PileSimInfoController extends BaseController {
util.exportExcel(response, list, "充电桩SIM卡信息数据");
}
/**
* 通过iccId查询卡最新数据
* @param iccId
*/
@PreAuthorize("@ss.hasPermi('pile:sim:list')")
@GetMapping("/getSimCardNewInfoByIccId/{iccId}")
public AjaxResult getSimCardNewInfoByIccId(@PathVariable("iccId") String iccId) {
return AjaxResult.success(simCardService.getSimCardInfoByIccId(iccId));
}
/**
* 获取充电桩SIM卡信息详细信息
*/