|
|
@ -41,8 +41,8 @@ public class RedisSequenceUtil {
|
|
|
|
* @return
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public static String getComplexDiseaseNo(){
|
|
|
|
public static String getComplexDiseaseNo(){
|
|
|
|
String nowDay = DateUtil.format(new Date(), "YYYYMMdd");
|
|
|
|
String nowDay = DateUtil.format(new Date(), "YYMMdd");
|
|
|
|
return nowDay + String.format("%03d", getIncrement("complex_disease_no_seq_"+nowDay));
|
|
|
|
return "mp"+nowDay + String.format("%03d", getIncrement("complex_disease_no_seq_"+nowDay));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|