|
@@ -14,6 +14,9 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
+import java.util.Calendar;
|
|
|
+import java.util.Date;
|
|
|
|
|
|
@Service
|
|
|
public class Guiji_healthcommission_ServiceImpl extends BaseService implements Guiji_healthcommission_Service {
|
|
@@ -39,6 +42,11 @@ public class Guiji_healthcommission_ServiceImpl extends BaseService implements G
|
|
|
} else if (sex != null && sex.equals("2")) {
|
|
|
bean.setSexID("女");
|
|
|
}
|
|
|
+ //2021-10-21 添加
|
|
|
+ SimpleDateFormat sdf= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
+ Date date = new Date(System.currentTimeMillis());
|
|
|
+
|
|
|
+ bean.setCd_time(sdf.format(date));
|
|
|
bean.setBirthday(Data.getString("Birthday"));
|
|
|
bean.setAddress(Data.getString("Address"));
|
|
|
bean.setFMName(Data.getString("FMName"));
|