Commit 93895dbd authored by 施翔轲's avatar 施翔轲

涉诉限用禁用表单关键字标红

parent f4e9f83e
...@@ -21,19 +21,19 @@ import javax.annotation.Resource; ...@@ -21,19 +21,19 @@ import javax.annotation.Resource;
*/ */
@RestController @RestController
@RequestMapping("fSupplierLimited") @RequestMapping("fSupplierLimited")
public class FSupplierLimitedController { public class SupplierLimitedController {
/** /**
* 服务对象 * 服务对象
*/ */
@Resource @Resource
private FSupplierLimitedService fSupplierLimitedService; private FSupplierLimitedService supplierLimitedService;
/** /**
* 获取涉诉限用禁用名单 * 获取涉诉限用禁用名单
*/ */
@GetMapping("/getSupplierLimitedList") @GetMapping("/getSupplierLimitedList")
public TableDataInfo<SupplierLimitedSearchVo> getSupplierLimitedList(SupplierLimitedSearchBo searchBo, PageQuery pageQuery) { public TableDataInfo<SupplierLimitedSearchVo> getSupplierLimitedList(SupplierLimitedSearchBo searchBo, PageQuery pageQuery) {
return fSupplierLimitedService.querySupplierLimitedList(searchBo, pageQuery); return supplierLimitedService.querySupplierLimitedList(searchBo, pageQuery);
} }
/** /**
...@@ -41,7 +41,7 @@ public class FSupplierLimitedController { ...@@ -41,7 +41,7 @@ public class FSupplierLimitedController {
*/ */
@GetMapping("/getSupplierUnlimitedList") @GetMapping("/getSupplierUnlimitedList")
public TableDataInfo<SupplierUnlimitedSearchVo> getSupplierUnlimitedList(SupplierUnlimitedSearchBo searchBo, PageQuery pageQuery) { public TableDataInfo<SupplierUnlimitedSearchVo> getSupplierUnlimitedList(SupplierUnlimitedSearchBo searchBo, PageQuery pageQuery) {
return fSupplierLimitedService.querySupplierUnlimitedList(searchBo, pageQuery); return supplierLimitedService.querySupplierUnlimitedList(searchBo, pageQuery);
} }
} }
...@@ -83,6 +83,10 @@ public class FSupplierLimitedServiceImpl extends ServiceImpl<FSupplierLimitedMap ...@@ -83,6 +83,10 @@ public class FSupplierLimitedServiceImpl extends ServiceImpl<FSupplierLimitedMap
//查不到则抛异常 //查不到则抛异常
//throw new ServiceException("未查询到该供应商Cid"); //throw new ServiceException("未查询到该供应商Cid");
} }
//关键字标红
if (StringUtils.isNotBlank(searchBo.getSupplierName())) {
searchVo.setFsuppliername(StringUtils.markInRed(searchVo.getFsuppliername(), searchBo.getSupplierName()));
}
} }
return TableDataInfo.build(page); return TableDataInfo.build(page);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment