|
@@ -51,7 +51,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
/// 机具库列表
|
|
/// 机具库列表
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
/// <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>();
|
|
Dictionary<string, string> Fields = new Dictionary<string, string>();
|
|
@@ -59,7 +59,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
Fields.Add("PosSn", "1"); //SN编号
|
|
Fields.Add("PosSn", "1"); //SN编号
|
|
|
Fields.Add("BrandId", "0"); //品牌
|
|
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))
|
|
if (!string.IsNullOrEmpty(BindingStateSelect))
|
|
|
{
|
|
{
|
|
@@ -103,10 +103,10 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
// {
|
|
// {
|
|
|
// condition += " and BrandId = 1";
|
|
// condition += " and BrandId = 1";
|
|
|
// }
|
|
// }
|
|
|
- if (!string.IsNullOrEmpty(UpFeeFlagSelect))
|
|
|
|
|
- {
|
|
|
|
|
- condition += " and UpFeeFlag = " + UpFeeFlagSelect;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (!string.IsNullOrEmpty(UpFeeFlagSelect))
|
|
|
|
|
+ // {
|
|
|
|
|
+ // condition += " and UpFeeFlag = " + UpFeeFlagSelect;
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(ActivationDateData))
|
|
if (!string.IsNullOrEmpty(ActivationDateData))
|
|
|
{
|
|
{
|