|
@@ -24,6 +24,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
@@ -128,7 +129,7 @@ public class StationService {
|
|
|
BeanUtil.copyProperties(vo,careStation);
|
|
|
|
|
|
careStation.setCode(getCode());
|
|
|
-
|
|
|
+ careStation.setCreateTime(new Date());
|
|
|
boolean flag = this.careStationService.save(careStation);
|
|
|
if (!flag) {
|
|
|
throw new BDException("新增服务站失败!");
|