Ver código fonte

删除班级加,更新时间

周箭河 5 anos atrás
pai
commit
06c9263277

+ 3 - 0
mec-web/src/main/java/com/ym/mec/web/controller/SysPaymentConfigController.java

@@ -31,6 +31,9 @@ public class SysPaymentConfigController extends BaseController {
         if (paymentConfig != null) {
             return failed("此分部配置已经存在");
         }
+        Date nowDate = new Date();
+        sysPaymentConfig.setCreateTime(nowDate);
+        sysPaymentConfig.setCreateTime(nowDate);
         return succeed(sysPaymentConfigService.insert(sysPaymentConfig));
     }