|
|
@@ -69,6 +69,17 @@ namespace TestUserTypeApi.Controllers
|
|
69
|
69
|
[HttpGet("gethzxxs")]
|
|
70
|
70
|
public async Task<IActionResult> Gethzxxs(int PageIndex, int PageSize, string stime, string etime, string deptname,string name ,string phonemodel)
|
|
71
|
71
|
{
|
|
|
72
|
+ if (_configuration["isempty"].ToString() == "1")
|
|
|
73
|
+ {
|
|
|
74
|
+ var obj = new
|
|
|
75
|
+ {
|
|
|
76
|
+ state = "success",
|
|
|
77
|
+ message = "成功",
|
|
|
78
|
+ rows = new List<PageData<V_CSM_ZHUYUAN>>() { },
|
|
|
79
|
+ };
|
|
|
80
|
+
|
|
|
81
|
+ return Success("成功", obj);
|
|
|
82
|
+ }
|
|
72
|
83
|
|
|
73
|
84
|
if (stime != null && etime != null)
|
|
74
|
85
|
{
|
|
|
@@ -6972,6 +6983,18 @@ namespace TestUserTypeApi.Controllers
|
|
6972
|
6983
|
[HttpGet("getmzhzmassages")]
|
|
6973
|
6984
|
public async Task<IActionResult> Getequipmentmanagements(int PageIndex, int PageSize, string stime, string etime,string hzname)
|
|
6974
|
6985
|
{
|
|
|
6986
|
+ if (_configuration["isempty"].ToString() == "1")
|
|
|
6987
|
+ {
|
|
|
6988
|
+ var obj1 = new
|
|
|
6989
|
+ {
|
|
|
6990
|
+ state = "success",
|
|
|
6991
|
+ message = "成功",
|
|
|
6992
|
+ rows = new List<PageData<V_MZ_FIRSTPAGE_NEW>>() { },
|
|
|
6993
|
+ };
|
|
|
6994
|
+
|
|
|
6995
|
+ return Success("成功", obj1);
|
|
|
6996
|
+ }
|
|
|
6997
|
+
|
|
6975
|
6998
|
if (!string.IsNullOrEmpty(stime) && !string.IsNullOrEmpty(etime))
|
|
6976
|
6999
|
{
|
|
6977
|
7000
|
stime = stime.Trim() + " 00:00:00";
|
|
|
@@ -7044,6 +7067,18 @@ namespace TestUserTypeApi.Controllers
|
|
7044
|
7067
|
[HttpGet("getjzhzmassages")]
|
|
7045
|
7068
|
public async Task<IActionResult> Getjzhzmassages(int PageIndex, int PageSize, string stime, string etime, string hzname)
|
|
7046
|
7069
|
{
|
|
|
7070
|
+ if (_configuration["isempty"].ToString() == "1")
|
|
|
7071
|
+ {
|
|
|
7072
|
+ var obj1 = new
|
|
|
7073
|
+ {
|
|
|
7074
|
+ state = "success",
|
|
|
7075
|
+ message = "成功",
|
|
|
7076
|
+ rows = new List<PageData<V_MZ_FIRSTPAGE_NEW>>() { },
|
|
|
7077
|
+ };
|
|
|
7078
|
+
|
|
|
7079
|
+ return Success("成功", obj1);
|
|
|
7080
|
+ }
|
|
|
7081
|
+
|
|
7047
|
7082
|
if (!string.IsNullOrEmpty(stime) && !string.IsNullOrEmpty(etime))
|
|
7048
|
7083
|
{
|
|
7049
|
7084
|
stime = stime.Trim() + " 00:00:00";
|