public ShopResult selectGood(String number, String littleCode, String bigCode, String noBatchCode, String type, HttpServletRequest request) throws CustomException {
if (type == "") {
throw new CustomException("");
}
List<String> stringList= (List<String>) request.getSession().getAttribute("list");
if (type.equals("0")) {//批量
List<EcsGoodCode> goodCodeList = new ArrayList<EcsGoodCode>();
//扫码输入
if (littleCode.equals("") && bigCode.equals("") && noBatchCode.equals("")) {
if (stringList == null) {
stringList=new ArrayList<>();
goodCodeList = getList(number, number, stringList, request);
return ShopResult.build(ResultType.result_success, "", goodCodeList);
} else {
if (stringList.size() == 1) {
扫码借书(批量非批量手动输入扫码)
最新推荐文章于 2024-12-02 15:39:50 发布