From 6c62b03bcaf50b0d2dcf85e2accd374283ad5e2e Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 16 九月 2022 23:15:46 +0800
Subject: [PATCH] 班组工资报表开发、人员工资明细报表开发、不良明细报表开发、品质异常报表开发、维修明细报表开发
---
VueWebApi/DLL/DAL/AppDeviceManageDAL.cs | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/VueWebApi/DLL/DAL/AppDeviceManageDAL.cs b/VueWebApi/DLL/DAL/AppDeviceManageDAL.cs
index cd32133..e238c5c 100644
--- a/VueWebApi/DLL/DAL/AppDeviceManageDAL.cs
+++ b/VueWebApi/DLL/DAL/AppDeviceManageDAL.cs
@@ -1,4 +1,5 @@
锘縰sing Dapper;
+using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
@@ -44,7 +45,7 @@
else
{
mes.code = "300";
- mes.Message = "褰撳墠璁惧寮傚父!";
+ mes.Message = "褰撳墠璁惧/宸ヤ綅涓嶅瓨鍦ㄦ垨寮傚父!";
mes.data = data;
}
}
@@ -108,14 +109,16 @@
try
{
list.Clear();
- mes = SeachEncode.EncodingSeach("1036"); //鐢熸垚鍗曞彿
+ mes = SeachEncode.EncodingSeach("1027"); //鐢熸垚鍗曞彿
if (mes.code == "300")
{
return mes;
}
else
{
- djwo = mes.data.GetType().GetProperty("Encode").GetValue(mes.data, null).ToString(); //鑾峰彇鍗曞彿
+ List<string> wo = (List<string>)mes.data;
+ djwo = wo[0].ToString(); //鑾峰彇鍗曞彿
+
}
if (json == null || json.children.Count <= 0)
{
@@ -281,7 +284,7 @@
try
{
list.Clear();
- mes = SeachEncode.EncodingSeach("1037"); //鐢熸垚鍗曞彿
+ mes = SeachEncode.EncodingSeach("1028"); //鐢熸垚鍗曞彿
if (mes.code == "300")
{
return mes;
--
Gitblit v1.9.3