[FrontedWebApi][運維管理] 新增維修單model調整

This commit is contained in:
dev01 2022-11-12 18:34:24 +08:00
parent 0fae910469
commit 834d9ee443
2 changed files with 4 additions and 4 deletions

View File

@ -200,8 +200,8 @@ namespace FrontendWebApi.ApiControllers
try
{
var sqlString = @$"select device_number, concat(device_floor_tag, ' ', device_last_name, ' ', device_serial_tag) as device_name
from device where deleted = 0 and device_area_tag = @device_area_tag and device_building_tag = @device_building_tag and device_floor_tag = @device_floor_tag and d.device_system_tag = @main_system_tag and d.device_name_tag = @sub_system_tag ";
var sqlString = @$"select device_number, concat(device_floor_tag, ' ', device_last_name, ' ', device_serial_tag) as device_name, full_name
from device where deleted = 0 and device_area_tag = @device_area_tag and device_building_tag = @device_building_tag and device_floor_tag = @device_floor_tag and device_system_tag = @main_system_tag and device_name_tag = @sub_system_tag ";
var param = new { @device_building_tag = bl.device_building_tag, @device_floor_tag = bl.device_floor_tag, @device_area_tag = bl.device_area_tag, @main_system_tag = bl.main_system_tag, @sub_system_tag = bl.sub_system_tag };

View File

@ -63,7 +63,7 @@ namespace FrontendWebApi.Models
public class Operation_Record : Actor
{
public int id { get; set; }
public byte deleted { get; set; }
public byte? deleted { get; set; }
public string formId { get; set; }
public string location { get; set; }
public string location_code { get; set; }
@ -75,7 +75,7 @@ namespace FrontendWebApi.Models
public string fix_do_code { get; set; }
public int fix_firm { get; set; }
public byte status { get; set; }
public int work_person_id { get; set; }
public string work_person_id { get; set; }
public DateTime start_time { get; set; }
public DateTime end_time { get; set; }
public DateTime work_time { get; set; }