从源更新

This commit is contained in:
qiankunpingtai
2019-07-29 11:12:35 +08:00
parent 2f77dfbf06
commit 44f3ccbd74
3 changed files with 3 additions and 20 deletions

View File

@@ -136,22 +136,7 @@ public class DepotItemController {
return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code);
}
/**
* 仅根据商品Id进行数量合计
*
* @param type
* @param mId
* @return
*/
public int sumNumberByMaterialId(String type, Long mId)throws Exception {
int allNumber = 0;
try {
allNumber = depotItemService.findByTypeAndMaterialId(type, mId);
} catch (Exception e) {
e.printStackTrace();
}
return allNumber;
}
/**