解决盘点int类型问题

master
xs 2 weeks ago
parent 3c927ba3fa
commit d72ec80f35

@ -30,7 +30,7 @@ public class InventoryWorkBeen extends BaseObservable {
private String locationCode; private String locationCode;
private String materialBatch; private String materialBatch;
private String stockType; private String stockType;
private int stockId; private Long stockId;
private double stockAmount; private double stockAmount;
private double realAmount; private double realAmount;
private String checkStatus; private String checkStatus;
@ -114,11 +114,11 @@ public class InventoryWorkBeen extends BaseObservable {
this.stockType = stockType; this.stockType = stockType;
} }
public int getStockId() { public Long getStockId() {
return stockId; return stockId;
} }
public void setStockId(int stockId) { public void setStockId(Long stockId) {
this.stockId = stockId; this.stockId = stockId;
} }

@ -40,7 +40,7 @@ public class ReturnOutStockBeen extends BaseObservable {
} else if (executeStatus.equals("1")) { } else if (executeStatus.equals("1")) {
return "执行中"; return "执行中";
} else if (executeStatus.equals("2")) { } else if (executeStatus.equals("2")) {
return "执完成"; return "完成";
} }
return executeStatus; return executeStatus;

@ -27,7 +27,7 @@
style="@style/item_title_left" style="@style/item_title_left"
android:layout_width="60dp" android:layout_width="60dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:text="物料批次:" /> android:text="物料条码:" />
<TextView <TextView
style="@style/item_info" style="@style/item_info"

@ -39,7 +39,7 @@
style="@style/item_title_blue" style="@style/item_title_blue"
android:layout_width="70dp" android:layout_width="70dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:text="物料码:" /> android:text="物料码:" />
<TextView <TextView
style="@style/item_text_13" style="@style/item_text_13"

Loading…
Cancel
Save