|
|
@ -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("数据不存在");
|
|
|
|