shenyijian
2024-06-21 f20611265f7d34fd4fbcdfdaff6cb9cccd0b25fc
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sjztmd/controller/TbDykeInvestigationController.java
@@ -102,9 +102,10 @@
   @ApiOperation(value = "白蚁普查-添加或者修改", notes = "白蚁普查-添加或者修改")
   @PostMapping(value = "/submit")
   public R submit(@RequestBody TbDykeInvestigation tbDykeInvestigation) {
      if (tbDykeInvestigation.getGuid() == null) {
         tbDykeInvestigation.setCreateTime(new Date());
      }
//      if (tbDykeInvestigation.getGuid() == null) {
      tbDykeInvestigation.setCreateTime(new Date());
//      }
      return tbDykeInvestigationService.saveOrUpdateBy(tbDykeInvestigation);
   }