Commit 92bd67f93a14f15ca5adf8d6e46ad87d4027c84a
1 parent
986447ba
畅游通核销app:1.修改部分检票检本次票上传核销数量错误 2.设置ftp的ip地址获取错误的问题
Showing
2 changed files
with
10 additions
and
4 deletions
src/com/ectrip/cyt/center/CenterHandle.java
... | ... | @@ -155,9 +155,14 @@ public class CenterHandle { |
155 | 155 | productOfConsumeOrders.add(consumeOrder); |
156 | 156 | } |
157 | 157 | |
158 | +// HttpHelper.getInstance(context).consumeOrderPart( | |
159 | +// orderInfos.get(position).getOrderId(), | |
160 | +// orderInfos.get(position).getOrderAmount(), pwd, verifyPassword, | |
161 | +// consumedSeq, productOfConsumeOrders,id,isId, | |
162 | +// new CenterConsumeCallback(position, false, 1)); | |
158 | 163 | HttpHelper.getInstance(context).consumeOrderPart( |
159 | 164 | orderInfos.get(position).getOrderId(), |
160 | - orderInfos.get(position).getOrderAmount(), pwd, verifyPassword, | |
165 | + "1", pwd, verifyPassword, | |
161 | 166 | consumedSeq, productOfConsumeOrders,id,isId, |
162 | 167 | new CenterConsumeCallback(position, false, 1)); |
163 | 168 | } | ... | ... |
src/com/ectrip/cyt/ui/MainActivity.java
... | ... | @@ -326,9 +326,10 @@ public class MainActivity extends BaseActivity implements OnItemClickListener, V |
326 | 326 | } |
327 | 327 | |
328 | 328 | private void setFtpUrl(String ec_ip) { |
329 | - int endIndex = ec_ip.trim().indexOf("/"); | |
330 | - String url = ec_ip.trim().substring(0, endIndex); | |
331 | - PreferenceUtils.putString(MyApp.getInstance(), ParamContants.SET_ip,url); | |
329 | + LogUtil.d(TAG, "ec_ip = " + ec_ip); | |
330 | +// int endIndex = ec_ip.trim().indexOf("/"); | |
331 | +// String url = ec_ip.trim().substring(0, endIndex); | |
332 | + PreferenceUtils.putString(MyApp.getInstance(), ParamContants.SET_ip, ec_ip.trim()); | |
332 | 333 | } |
333 | 334 | |
334 | 335 | private void initView() { | ... | ... |