shicf
2024-11-21 cf74cf76707710a08ffcdfc13c46706966f12803
src/main/java/com/product/administration/controller/EarlyWarningManagerController.java
@@ -23,6 +23,8 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -483,9 +485,13 @@
                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());
            }
            if(fse.getObject("createDate")==null) {
               fse.setValue("createDate", new Date());
            }
            IPublicService publicService = (IPublicService) getProxyInstance(this.publicService);
            publicService.saveFieldSetEntity(fse);
            earlyWarningManagerService.sendWarnFeedBackMessage(fse);
            return OK_List(earlyWarningManagerService.getWarnFeedBack(fse.getString("parent_uuid")));
        } catch (BaseException e) {