-
版本信息 (必填):企业版最新版后端使用的是lamp-cloud还是lamp-boot: ?cloud 问题描述:我在某个业务的Service层写如下类似代码时: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
update_time、update_by 的逻辑是 非空时,存储非空的值, 为空时,自动赋值。 所以只需要 cat.setUpdateBy(null) 即可自动赋值 |
Beta Was this translation helpful? Give feedback.
-
已经解决了 |
Beta Was this translation helpful? Give feedback.
update_time、update_by 的逻辑是 非空时,存储非空的值, 为空时,自动赋值。
所以只需要 cat.setUpdateBy(null) 即可自动赋值