zm
2025-03-04 6e332c32f5121a372cecc8305e45f6571e4baa16
src/main/java/com/product/contract/controller/ProjectInfoController.java
@@ -63,7 +63,7 @@
                return this.error(SystemCode.SYSTEM_FORM_NODATA.getValue(), SystemCode.SYSTEM_FORM_NODATA.getText());
            }
            // 判断表名是否正常
            if (!CmnConst.LX_PROJECT_INFO.equals(fse.getTableName())) {
            if (!CmnConst.PRODUCT_PROJECT_BUSINESS.equals(fse.getTableName())) {
                SpringMVCContextHolder.getSystemLogger().error(SystemCode.SYSTEM_TABLE_NODATA.getValue(),
                        SystemCode.SYSTEM_TABLE_NODATA.getText());
                return this.error(SystemCode.SYSTEM_TABLE_NODATA.getValue(), SystemCode.SYSTEM_TABLE_NODATA.getText());
@@ -110,7 +110,7 @@
                return this.error(SystemCode.SYSTEM_FORM_NODATA.getValue(), SystemCode.SYSTEM_FORM_NODATA.getText());
            }
            //判断表名是否正常
            if (!CmnConst.LX_PROJECT_INFO.equals(fse.getTableName())) {
            if (!CmnConst.PRODUCT_PROJECT_BUSINESS.equals(fse.getTableName())) {
                SpringMVCContextHolder.getSystemLogger().error(SystemCode.SYSTEM_TABLE_NODATA.getValue(), SystemCode.SYSTEM_TABLE_NODATA.getText());
                return this.error(SystemCode.SYSTEM_TABLE_NODATA.getValue(), SystemCode.SYSTEM_TABLE_NODATA.getText());
            }
@@ -152,7 +152,7 @@
                return this.error(SystemCode.SYSTEM_FORM_NODATA.getValue(), SystemCode.SYSTEM_FORM_NODATA.getText());
            }
            //判断表名是否正常
            if (!CmnConst.LX_PROJECT_INFO.equals(fse.getTableName())) {
            if (!CmnConst.PRODUCT_PROJECT_BUSINESS.equals(fse.getTableName())) {
                SpringMVCContextHolder.getSystemLogger().error(SystemCode.SYSTEM_TABLE_NODATA.getValue(), SystemCode.SYSTEM_TABLE_NODATA.getText());
                return this.error(SystemCode.SYSTEM_TABLE_NODATA.getValue(), SystemCode.SYSTEM_TABLE_NODATA.getText());
            }
@@ -200,7 +200,7 @@
                return this.error(SystemCode.SYSTEM_FORM_NODATA.getValue(), SystemCode.SYSTEM_FORM_NODATA.getText());
            }
            // 判断表名是否正常
            if (!CmnConst.LX_PROJECT_INFO.equals(fse.getTableName())) {
            if (!CmnConst.PRODUCT_PROJECT_BUSINESS.equals(fse.getTableName())) {
                SpringMVCContextHolder.getSystemLogger().error(SystemCode.SYSTEM_TABLE_NODATA.getValue(),
                        SystemCode.SYSTEM_TABLE_NODATA.getText());
                return this.error(SystemCode.SYSTEM_TABLE_NODATA.getValue(), SystemCode.SYSTEM_TABLE_NODATA.getText());
@@ -234,7 +234,7 @@
            projectInfoService.saveOrUpdate(fse);
        }
       return  OK();
        return  OK();
    }
@@ -243,7 +243,7 @@
    @ApiVersion(1)
    public String getDataList(HttpServletRequest request){
        FieldSetEntity fse = BaseUtil.getFieldSetEntity(request);
        if(StringUtils.isNotEmpty(fse.getValues().get("dict_name").toString())){
        if(ObjectUtil.isNotEmpty(fse.getValues().get("dict_name"))){
            String dic_name = fse.getValues().get("dict_name").toString();
            JSONObject dataList = projectInfoService.getDataList(dic_name);
            return  OK(dataList);