mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
bug修改-余料库
This commit is contained in:
+6
-3
@@ -610,13 +610,16 @@ public class ApiTypeRealize {
|
||||
.setDrillsRemark(plate.getString("DrillsRemark"))
|
||||
.setInfoRemark(plate.getString("InfoRemark"))
|
||||
.setRemarkJsonDei(plate.getString("RemarkJson"));
|
||||
if (plateDetail.get(plate.getLong("BlockNo")).getThroughModelCount() > 0){
|
||||
if (plateDetail.get(plate.getLong("BlockNo")).getThroughModelCount() != null
|
||||
&& plateDetail.get(plate.getLong("BlockNo")).getThroughModelCount() > 0){
|
||||
plateInfo.setFilterType(plateInfo.getFilterType() + ",1");
|
||||
}
|
||||
if (plateDetail.get(plate.getLong("BlockNo")).getThroughHoleCount() > 0){
|
||||
if (plateDetail.get(plate.getLong("BlockNo")).getThroughHoleCount() != null
|
||||
&& plateDetail.get(plate.getLong("BlockNo")).getThroughHoleCount() > 0){
|
||||
plateInfo.setFilterType(plateInfo.getFilterType() + ",2");
|
||||
}
|
||||
if (plateDetail.get(plate.getLong("BlockNo")).getHas2DModel()){
|
||||
if (plateDetail.get(plate.getLong("BlockNo")).getHas2DModel() != null
|
||||
&& plateDetail.get(plate.getLong("BlockNo")).getHas2DModel()){
|
||||
plateInfo.setFilterType(plateInfo.getFilterType() + ",4");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user