|
|
@@ -51,7 +51,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
/// 机具库列表
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
|
- public JsonResult IndexData(PosMachinesTwo data, string BindingStateSelect, string ActivationStateSelect, string UserIdMakerCode, string UserIdRealName, string StoreIdCode, string StoreIdName, string ActivationDateData, string BindingDateData, string BrandSelect = "1", string UpFeeFlagSelect = "0", int page = 1, int limit = 30)
|
|
|
+ public JsonResult IndexData(PosMachinesTwo data, string BindingStateSelect, string ActivationStateSelect, string UserIdMakerCode, string UserIdRealName, string StoreIdCode, string StoreIdName, string ActivationDateData, string BindingDateData, string BrandSelect = "1", int page = 1, int limit = 30)
|
|
|
{
|
|
|
|
|
|
Dictionary<string, string> Fields = new Dictionary<string, string>();
|
|
|
@@ -59,7 +59,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
Fields.Add("PosSn", "1"); //SN编号
|
|
|
Fields.Add("BrandId", "0"); //品牌
|
|
|
|
|
|
- string condition = " and Status>-1 AND BindingState = 1 AND DATE_SUB(CURDATE(), INTERVAL 180 DAY) >= date(BindingTime) and DownFeeFlag =0";
|
|
|
+ string condition = " and Status>-1 AND BindingState = 1 AND DATE_SUB(CURDATE(), INTERVAL 180 DAY) >= date(BindingTime) and UpFeeFlag =1 and DownFeeFlag =0";
|
|
|
//绑定状态
|
|
|
if (!string.IsNullOrEmpty(BindingStateSelect))
|
|
|
{
|
|
|
@@ -103,10 +103,10 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
// {
|
|
|
// condition += " and BrandId = 1";
|
|
|
// }
|
|
|
- if (!string.IsNullOrEmpty(UpFeeFlagSelect))
|
|
|
- {
|
|
|
- condition += " and UpFeeFlag = " + UpFeeFlagSelect;
|
|
|
- }
|
|
|
+ // if (!string.IsNullOrEmpty(UpFeeFlagSelect))
|
|
|
+ // {
|
|
|
+ // condition += " and UpFeeFlag = " + UpFeeFlagSelect;
|
|
|
+ // }
|
|
|
|
|
|
if (!string.IsNullOrEmpty(ActivationDateData))
|
|
|
{
|
|
|
@@ -128,6 +128,10 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
List<Dictionary<string, object>> diclist = obj["data"] as List<Dictionary<string, object>>;
|
|
|
foreach (Dictionary<string, object> dic in diclist)
|
|
|
{
|
|
|
+ //是否真实调升/降
|
|
|
+ int ActivityList = int.Parse(dic["ActivityList"].ToString());
|
|
|
+ if (ActivityList == 1) dic["ActivityList"] = "已真实调升";
|
|
|
+ if (ActivityList == 2) dic["ActivityList"] = "已真实调降";
|
|
|
//绑定状态
|
|
|
int BindingState = int.Parse(dic["BindingState"].ToString());
|
|
|
if (BindingState == 0) dic["BindingState"] = "未绑定";
|
|
|
@@ -484,7 +488,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
// Kind:1或2,1为费率0.63,2为费率0.6
|
|
|
// OpMan:操作人,app传创客编号,后台传SysUserName
|
|
|
string info = "{\"RecordId\":\"\",\"PosId\":\"" + id + "\",\"Fee\": \"" + 0.63 + "\",\"Kind\": \"" + 1 + "\",\"OpMan\": \"" + SysUserName + "\"}";
|
|
|
- RedisDbconn.Instance.AddList("SetDepositQueue", info);
|
|
|
+ RedisDbconn.Instance.AddList("SetDepositPostQueue", info);
|
|
|
}
|
|
|
else
|
|
|
{
|