Ver código fonte

[申请入驻][修改]添加日期

release_toaliyun_real
gongbiao 7 anos atrás
pai
commit
98511ee920
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      mallinkService/src/main/java/com/simple/service/impl/WxMallApplyServiceImpl.java

+ 1
- 0
mallinkService/src/main/java/com/simple/service/impl/WxMallApplyServiceImpl.java Ver arquivo

@@ -57,6 +57,7 @@ public class WxMallApplyServiceImpl implements WxMallApplyService {
if (record.getId() == null) { if (record.getId() == null) {
final IdWorker idWorker = IdWorker.get(); final IdWorker idWorker = IdWorker.get();
record.setId(idWorker.nextId()); record.setId(idWorker.nextId());
record.setApplyDate(new Date());
wxMallApplyMapper.insertSelective(record); wxMallApplyMapper.insertSelective(record);
} else { } else {
wxMallApplyMapper.updateByPrimaryKeySelective(record); wxMallApplyMapper.updateByPrimaryKeySelective(record);


Carregando…
Cancelar
Salvar