| | |
| | | import com.walker.infrastructure.utils.DateUtils; |
| | | import com.walker.infrastructure.utils.NumberGenerator; |
| | | import com.walker.jdbc.service.BaseServiceImpl; |
| | | import io.swagger.models.auth.In; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.IdGenerator; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 编码统一生成服务 |
| | |
| | | System.out.println(prefix); |
| | | } |
| | | |
| | | private String createCodeByPrefix(String prefix,int length){ |
| | | public String createCodeByPrefix(String prefix,int length){ |
| | | String CODE_PREFIX = prefix; |
| | | String sql = "SELECT * from BASE_CODE_INDEXING where CODE_PREFIX=:CODE_PREFIX"; |
| | | |