Commit 11a79d9e authored by LiuLin's avatar LiuLin

fix(ymt):生成顺序码调整代码结构,需要feign接口调用,参考TzsServiceFeignClient,接口在GenerateCodeController中

parent 5c3c9d39
......@@ -36,7 +36,7 @@ public interface TzsServiceFeignClient {
/**
* 申请单编号生成
* @param type type
* @param type 参考ApplicationFormTypeEnum中的枚举
* @param batchSize batchSize
* @return List
*/
......@@ -45,17 +45,17 @@ public interface TzsServiceFeignClient {
@RequestParam("batchSize") int batchSize);
/**
* 申请单编号生成
* @param key
* @return String
* 生成设备注册编码
* @param key 16位
* @return 生成设备注册编码(20位)
*/
@RequestMapping(value = "/generate-code/deviceRegistrationCode", method = RequestMethod.POST)
ResponseModel<String> deviceRegistrationCode(@RequestParam("key") String key);
/**
* 申请单编号生成
* @param key
* @return String
* 使用登记证生成
* @param key 起11陕C
* @return 生成使用登记证编号(13位,起11陕C00001(23))
*/
@RequestMapping(value = "/generate-code/useRegistrationCode", method = RequestMethod.POST)
ResponseModel<String> useRegistrationCode(@RequestParam("key") String key);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment