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