|
|
|
@ -164,9 +164,9 @@ public class ChargeOrderService : BaseServices<ChargeOrder>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="id"></param>
|
|
|
|
|
/// <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))
|
|
|
|
|
{
|
|
|
|
|
return Result<bool>.Fail("数据不存在");
|
|
|
|
|