现场:充电订单手动上传云平修订

master
CZ 5 months ago
parent 95b2869bf4
commit 60b5a1beb6

@ -164,9 +164,9 @@ public class ChargeOrderService : BaseServices<ChargeOrder>
/// </summary> /// </summary>
/// <param name="id"></param> /// <param name="id"></param>
/// <returns></returns> /// <returns></returns>
public Result<bool> Upload2Cloud(string cloudChargerOrder) public Result<bool> Upload2Cloud(string id)
{ {
List<ChargeOrder> orders = BaseDal.QueryListByClause(it => it.CloudChargeOrder == cloudChargerOrder); List<ChargeOrder> orders = BaseDal.QueryListByClause(it => it.Id == Convert.ToInt32(id));
if (ObjUtils.IsEmpty(orders)) if (ObjUtils.IsEmpty(orders))
{ {
return Result<bool>.Fail("数据不存在"); return Result<bool>.Fail("数据不存在");

Loading…
Cancel
Save