mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-17 00:08:35 +08:00
update
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -422,6 +422,12 @@ public class SettleOrderReportServiceImpl implements ISettleOrderReportService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int insertOrUpdate(SettleOrderReport record) {
|
public int insertOrUpdate(SettleOrderReport record) {
|
||||||
|
Date nowDate = DateUtils.getNowDate();
|
||||||
|
if (record.getId() == null) {
|
||||||
|
record.setCreateTime(nowDate);
|
||||||
|
} else {
|
||||||
|
record.setUpdateTime(nowDate);
|
||||||
|
}
|
||||||
return settleOrderReportMapper.insertOrUpdate(record);
|
return settleOrderReportMapper.insertOrUpdate(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user