Commit c17a25b2 authored by 李驰骋's avatar 李驰骋

编码回收功能API去掉一个方法

parent 6d6e0b1e
...@@ -37,12 +37,4 @@ public interface CodeGenerator { ...@@ -37,12 +37,4 @@ public interface CodeGenerator {
*/ */
void recycleCodeNos(String code,String[] codesNos); void recycleCodeNos(String code,String[] codesNos);
/**
* 使用回收自定义编号值
* @param code 自定义编号
* @param quantity 使用数量
* @return
*/
List<String> useRecycleCode(String code, int quantity);
} }
...@@ -160,8 +160,10 @@ public class CodeGeneratorImpl extends AbstractDaoFunction implements CodeGenera ...@@ -160,8 +160,10 @@ public class CodeGeneratorImpl extends AbstractDaoFunction implements CodeGenera
return df.format(date); return df.format(date);
} }
@Override /*
public List<String> useRecycleCode(String code, int quantity) { 使用回收自定义编号值
*/
private List<String> useRecycleCode(String code, int quantity) {
CodeRecycleQuery query = new CodeRecycleQuery(); CodeRecycleQuery query = new CodeRecycleQuery();
query.setCode(code); query.setCode(code);
query.setIsRecycle("0"); query.setIsRecycle("0");
......
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