现场,手动上传充电订单修正

master
xjl 5 months ago
parent 60b5a1beb6
commit 6d76b02839

@ -166,7 +166,10 @@ public class ChargeOrderService : BaseServices<ChargeOrder>
/// <returns></returns> /// <returns></returns>
public Result<bool> Upload2Cloud(string id) public Result<bool> Upload2Cloud(string id)
{ {
List<ChargeOrder> orders = BaseDal.QueryListByClause(it => it.Id == Convert.ToInt32(id)); List<ChargeOrder> orders01 = BaseDal.QueryListByClause(it => it.Id == Convert.ToInt32(id));
List<ChargeOrder> orders = BaseDal.QueryListByClause(it => it.CloudChargeOrder == orders01[0].CloudChargeOrder);
if (ObjUtils.IsEmpty(orders)) if (ObjUtils.IsEmpty(orders))
{ {
return Result<bool>.Fail("数据不存在"); return Result<bool>.Fail("数据不存在");

Loading…
Cancel
Save