给商品查询增加助记码的查询条件

This commit is contained in:
jishenghua
2024-09-28 01:07:47 +08:00
parent 538a641ef5
commit 33dbe7c3b9
3 changed files with 16 additions and 6 deletions

View File

@@ -1337,9 +1337,6 @@ public class MaterialService {
public String getMaterialOtherByParam(String[] mpArr, MaterialVo4Unit m) {
String materialOther = "";
for (int i = 0; i < mpArr.length; i++) {
if (mpArr[i].equals("制造商")) {
materialOther = materialOther + ((m.getMfrs() == null || m.getMfrs().equals("")) ? "" : "(" + m.getMfrs() + ")");
}
if (mpArr[i].equals("自定义1")) {
materialOther = materialOther + ((m.getOtherField1() == null || m.getOtherField1().equals("")) ? "" : "(" + m.getOtherField1() + ")");
}