Your Name
2023-02-21 e23023b93f34286f5a807b0b85e9a0619a297ed7
service-common/src/main/java/com/java110/common/api/AttrSpecApi.java
@@ -70,6 +70,7 @@
    public ResponseEntity<String> updateAttrSpec(@RequestBody JSONObject reqJson) {
        Assert.hasKeyAndValue(reqJson, "specCd", "请求报文中未包含specCd");
        Assert.hasKeyAndValue(reqJson, "specId", "请求报文中未包含specId");
        Assert.hasKeyAndValue(reqJson, "tableName", "请求报文中未包含tableName");
        Assert.hasKeyAndValue(reqJson, "specName", "请求报文中未包含specName");
        Assert.hasKeyAndValue(reqJson, "specHoldplace", "请求报文中未包含specHoldplace");
@@ -96,7 +97,7 @@
    @RequestMapping(value = "/deleteAttrSpec", method = RequestMethod.POST)
    public ResponseEntity<String> deleteAttrSpec(@RequestBody JSONObject reqJson) {
        Assert.hasKeyAndValue(reqJson, "specCd", "specCd不能为空");
        Assert.hasKeyAndValue(reqJson, "specId", "specId不能为空");
        AttrSpecPo attrSpecPo = BeanConvertUtil.covertBean(reqJson, AttrSpecPo.class);
@@ -114,6 +115,7 @@
    @RequestMapping(value = "/queryAttrSpec", method = RequestMethod.GET)
    public ResponseEntity<String> queryAttrSpec(@RequestParam(value = "tableName", required = false) String tableName,
                                                @RequestParam(value = "specCd", required = false) String specCd,
                                                @RequestParam(value = "specId", required = false) String specId,
                                                @RequestParam(value = "specName", required = false) String specName,
                                                @RequestParam(value = "domain", required = false) String domain,
                                                @RequestParam(value = "page", required = false) int page,
@@ -127,6 +129,7 @@
        attrSpecDto.setSpecCd(specCd);
        attrSpecDto.setSpecName(specName);
        attrSpecDto.setDomain(domain);
        attrSpecDto.setSpecId(specId);
        return getAttrSpecBMOImpl.get(attrSpecDto);
    }
}