|
|
|
@ -15,6 +15,7 @@ import com.qhclh.ytzh.base.BaseActivity; |
|
|
|
import com.qhclh.ytzh.bean.ScanBean; |
|
|
|
import com.qhclh.ytzh.home.RpcUrl; |
|
|
|
import com.qhclh.ytzh.tasks.ViewOnClickTask; |
|
|
|
import com.qhclh.ytzh.utils.DateTimeUtil; |
|
|
|
|
|
|
|
import org.forks.jsonrpc.JsonRpcResult; |
|
|
|
import org.forks.jsonrpc.RpcFacade; |
|
|
|
@ -168,11 +169,19 @@ public class FumudaiScanResultActivity extends BaseActivity { |
|
|
|
@Override |
|
|
|
protected void successUI() { |
|
|
|
System.out.println("aaa++++leave++++"+rpcObj); |
|
|
|
// scanBeanList.add(new ScanBean(rpcObj.getLong("ID"),"车牌号"+i,"司机"+i,"联系方式"+i,"批次"+i,"厂址"+i, |
|
|
|
// "时间"+i,"数量"+i,"免疫"+i,"均匀度"+i,"起始时间"+i,"到达时间"+i)); |
|
|
|
// |
|
|
|
// scanAdapter = new ScanAdapter(this,scanBeanList); |
|
|
|
// fumudai_lv_infos.setAdapter(scanAdapter); |
|
|
|
ScanBean scanBean = new ScanBean(); |
|
|
|
scanBean.setId(rpcObj.getLong("ID")); |
|
|
|
scanBean.setInfos_carname(rpcObj.getString("Car_Name")); |
|
|
|
scanBean.setInfos_driver(rpcObj.getString("Employee_Name")); |
|
|
|
scanBean.setInfos_fuhuachang(rpcObj.getString("Hatchery_Name")); |
|
|
|
scanBean.setInfos_yangzhichang(rpcObj.getString("BreedFactory_Name")); |
|
|
|
scanBean.setInfos_leavetime(DateTimeUtil.getYMD4(rpcObj.getDate("LeaveHatcheryTime"))); |
|
|
|
scanBean.setInfos_daodashijian(DateTimeUtil.getYMD4(rpcObj.getDate("ArriveBreedFactoryTime"))); |
|
|
|
scanBean.setInfos_phone(rpcObj.getString("Employee_HandPhone")); |
|
|
|
scanBeanList.add(scanBean); |
|
|
|
|
|
|
|
scanAdapter = new ScanAdapter(FumudaiScanResultActivity.this,scanBeanList); |
|
|
|
fumudai_lv_infos.setAdapter(scanAdapter); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|