Commit 5d93c58ddefe2c5892e1a00ad6e1bb1e94cef931
1 parent
32e738be
修改类电池物料规则
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/huaheng/api/general/service/BasicDataApiService.java
... | ... | @@ -223,7 +223,8 @@ public class BasicDataApiService { |
223 | 223 | // return AjaxResult.error("没有该货主!!"); |
224 | 224 | // } |
225 | 225 | String code=material.getCode(); |
226 | - if(code.startsWith("293") || code.startsWith("290") || code.startsWith("288")|| code.startsWith("11601")|| code.startsWith("29302136C")|| code.startsWith("29302136M")|| code.startsWith("196")){ | |
226 | +// if(code.startsWith("293") || code.startsWith("290") || code.startsWith("288")|| code.startsWith("11601")|| code.startsWith("29302136C")|| code.startsWith("29302136M")|| code.startsWith("196")){ | |
227 | + if (code.startsWith("196")){ | |
227 | 228 | material.setIsBattery(1); |
228 | 229 | }else{ |
229 | 230 | material.setIsBattery(2); |
... | ... |