|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.matrix.core.constance.MatrixConstance; | 
|---|
|  |  |  | import com.matrix.system.common.dao.UtilDao; | 
|---|
|  |  |  | import com.matrix.system.hive.plugin.util.DateUtils; | 
|---|
|  |  |  | import com.matrix.core.tools.DateUtil; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | int s=Integer.parseInt(max); | 
|---|
|  |  |  | s=s+1; | 
|---|
|  |  |  | if(s>=1000){ | 
|---|
|  |  |  | return DateUtils.getTimeCode(); | 
|---|
|  |  |  | return DateUtil.getTimeCode(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return s>=10?(s>=100?s+"":"00"+s):"000"+s; // 计算 转型 | 
|---|
|  |  |  | }catch(Exception e){ | 
|---|
|  |  |  | return DateUtils.getTimeCode(); | 
|---|
|  |  |  | return DateUtil.getTimeCode(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|