diff --git a/src/main/java/cn/chjyj/szwh/service/GoodsSourceService.java b/src/main/java/cn/chjyj/szwh/service/GoodsSourceService.java index 7aa3314..9bb04ad 100644 --- a/src/main/java/cn/chjyj/szwh/service/GoodsSourceService.java +++ b/src/main/java/cn/chjyj/szwh/service/GoodsSourceService.java @@ -17,11 +17,4 @@ public interface GoodsSourceService { */ Map getGoodsSourceDetail(String isli, String islicode, String batchcode); - /** - * 增加商品资源 GoodsSource - * @param res - * @param idlicode - * @return - */ - int insertGoodsSource(String res,String idlicode); } diff --git a/src/main/java/cn/chjyj/szwh/service/impl/GoodsSourceServiceImpl.java b/src/main/java/cn/chjyj/szwh/service/impl/GoodsSourceServiceImpl.java index 3f411fd..a94a855 100644 --- a/src/main/java/cn/chjyj/szwh/service/impl/GoodsSourceServiceImpl.java +++ b/src/main/java/cn/chjyj/szwh/service/impl/GoodsSourceServiceImpl.java @@ -156,67 +156,4 @@ public class GoodsSourceServiceImpl implements GoodsSourceService { return retmap; } - /** - * add new GoodsSource - * @param res 传递过来的json字符串 - * @param islicode 商品编码 - * @return - */ - @Override - public int insertGoodsSource(String res, String islicode) { - SimpleDateFormat sdf =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); - // 抽取出现对应数据 - JSONArray jarr = JSONArray.parseArray(res); - for(int i=0;i