|  | @ -14,15 +14,13 @@ import com.yihu.jw.util.date.DateUtil;
 | 
												
													
														
															|  | import com.yihu.mysql.query.BaseJpaService;
 |  | import com.yihu.mysql.query.BaseJpaService;
 | 
												
													
														
															|  | import org.slf4j.Logger;
 |  | import org.slf4j.Logger;
 | 
												
													
														
															|  | import org.slf4j.LoggerFactory;
 |  | import org.slf4j.LoggerFactory;
 | 
												
													
														
															|  | import org.springframework.beans.factory.BeanClassLoaderAware;
 |  | 
 | 
												
													
														
															|  | import org.springframework.beans.factory.annotation.Autowired;
 |  | import org.springframework.beans.factory.annotation.Autowired;
 | 
												
													
														
															|  | 
 |  | import org.springframework.beans.factory.annotation.Value;
 | 
												
													
														
															|  | import org.springframework.data.redis.core.StringRedisTemplate;
 |  | import org.springframework.data.redis.core.StringRedisTemplate;
 | 
												
													
														
															|  | import org.springframework.jdbc.core.BeanPropertyRowMapper;
 |  | import org.springframework.jdbc.core.BeanPropertyRowMapper;
 | 
												
													
														
															|  | import org.springframework.jdbc.core.JdbcTemplate;
 |  | import org.springframework.jdbc.core.JdbcTemplate;
 | 
												
													
														
															|  | import org.springframework.stereotype.Service;
 |  | import org.springframework.stereotype.Service;
 | 
												
													
														
															|  | import org.springframework.util.StringUtils;
 |  | 
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | import javax.print.DocFlavor;
 |  | 
 | 
												
													
														
															|  | import javax.transaction.Transactional;
 |  | import javax.transaction.Transactional;
 | 
												
													
														
															|  | import java.text.ParseException;
 |  | import java.text.ParseException;
 | 
												
													
														
															|  | import java.text.SimpleDateFormat;
 |  | import java.text.SimpleDateFormat;
 | 
												
											
												
													
														
															|  | @ -64,6 +62,8 @@ public class CreditsDetailService extends BaseJpaService<CreditsDetailDO,Creditt
 | 
												
													
														
															|  |     private ExchangeGoodsDao exchangeGoodsDao;
 |  |     private ExchangeGoodsDao exchangeGoodsDao;
 | 
												
													
														
															|  |     @Autowired
 |  |     @Autowired
 | 
												
													
														
															|  |     private TaskGoodsDao taskGoodsDao;
 |  |     private TaskGoodsDao taskGoodsDao;
 | 
												
													
														
															|  | 
 |  |     @Value("${account.initPassword}")
 | 
												
													
														
															|  | 
 |  |     private String initPassword;
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |    /**
 |  |    /**
 | 
												
													
														
															|  |      *  find creditsLogInfo
 |  |      *  find creditsLogInfo
 | 
												
											
												
													
														
															|  | @ -115,7 +115,7 @@ public class CreditsDetailService extends BaseJpaService<CreditsDetailDO,Creditt
 | 
												
													
														
															|  |                 accountDO1.setCardNumber(cardNumber+Integer.toString(random));
 |  |                 accountDO1.setCardNumber(cardNumber+Integer.toString(random));
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  |             accountDO1.setHospital(creditsDetailDO.getHospital());
 |  |             accountDO1.setHospital(creditsDetailDO.getHospital());
 | 
												
													
														
															|  |             accountDO1.setPassword("123456");
 |  | 
 | 
												
													
														
															|  | 
 |  |             accountDO1.setPassword(initPassword);
 | 
												
													
														
															|  |             accountDO1.setHospitalName(creditsDetailDO.getHospitalName());
 |  |             accountDO1.setHospitalName(creditsDetailDO.getHospitalName());
 | 
												
													
														
															|  |             accountDO1.setStatus(1);
 |  |             accountDO1.setStatus(1);
 | 
												
													
														
															|  |             accountDO1.setSaasId("dev");
 |  |             accountDO1.setSaasId("dev");
 | 
												
											
												
													
														
															|  | @ -249,7 +249,7 @@ public class CreditsDetailService extends BaseJpaService<CreditsDetailDO,Creditt
 | 
												
													
														
															|  |                         accountDO1.setCardNumber(cardNumber+Integer.toString(random));
 |  |                         accountDO1.setCardNumber(cardNumber+Integer.toString(random));
 | 
												
													
														
															|  |                     }
 |  |                     }
 | 
												
													
														
															|  |                     accountDO1.setHospital(creditsDetailDO.getHospital());
 |  |                     accountDO1.setHospital(creditsDetailDO.getHospital());
 | 
												
													
														
															|  |                     accountDO1.setPassword("123456");
 |  | 
 | 
												
													
														
															|  | 
 |  |                     accountDO1.setPassword(initPassword);
 | 
												
													
														
															|  |                     accountDO1.setHospitalName(creditsDetailDO.getHospitalName());
 |  |                     accountDO1.setHospitalName(creditsDetailDO.getHospitalName());
 | 
												
													
														
															|  |                     accountDO1.setStatus(1);
 |  |                     accountDO1.setStatus(1);
 | 
												
													
														
															|  |                     accountDO1.setCreateTime(new Date());
 |  |                     accountDO1.setCreateTime(new Date());
 | 
												
											
												
													
														
															|  | @ -793,7 +793,7 @@ public class CreditsDetailService extends BaseJpaService<CreditsDetailDO,Creditt
 | 
												
													
														
															|  |                         accountDO1.setCardNumber(cardNumber+Integer.toString(random));
 |  |                         accountDO1.setCardNumber(cardNumber+Integer.toString(random));
 | 
												
													
														
															|  |                     }
 |  |                     }
 | 
												
													
														
															|  |                     accountDO1.setHospital(creditsDetailDO.getHospital());
 |  |                     accountDO1.setHospital(creditsDetailDO.getHospital());
 | 
												
													
														
															|  |                     accountDO1.setPassword("123456");
 |  | 
 | 
												
													
														
															|  | 
 |  |                     accountDO1.setPassword(initPassword);
 | 
												
													
														
															|  |                     accountDO1.setHospitalName(creditsDetailDO.getHospitalName());
 |  |                     accountDO1.setHospitalName(creditsDetailDO.getHospitalName());
 | 
												
													
														
															|  |                     accountDO1.setStatus(1);
 |  |                     accountDO1.setStatus(1);
 | 
												
													
														
															|  |                     accountDO1.setCreateTime(new Date());
 |  |                     accountDO1.setCreateTime(new Date());
 | 
												
											
												
													
														
															|  | @ -1009,7 +1009,7 @@ public class CreditsDetailService extends BaseJpaService<CreditsDetailDO,Creditt
 | 
												
													
														
															|  |                 int random = (int)((Math.random()*9+1)*100000);
 |  |                 int random = (int)((Math.random()*9+1)*100000);
 | 
												
													
														
															|  |                 accountDO.setCardNumber(cardNumber+Integer.toString(random));
 |  |                 accountDO.setCardNumber(cardNumber+Integer.toString(random));
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  |             accountDO.setPassword("123456");
 |  | 
 | 
												
													
														
															|  | 
 |  |             accountDO.setPassword(initPassword);
 | 
												
													
														
															|  |             accountDO.setSaasId("dev");
 |  |             accountDO.setSaasId("dev");
 | 
												
													
														
															|  |             accountDO.setStatus(1);
 |  |             accountDO.setStatus(1);
 | 
												
													
														
															|  |             accountDO.setCreateTime(new Date());
 |  |             accountDO.setCreateTime(new Date());
 |