| | |
| | | |
| | | |
| | | [HttpGet, Route("Fuzzyquery"), AllowAnonymous] |
| | | public WebResponseContent Fuzzyquery(string trainkind, string trainnum, string track, string coachnum, string bogie, string processdept) |
| | | public WebResponseContent Fuzzyquery(MhuNjtakeTDO mhuNjtakeTDO) |
| | | { |
| | | return Service.Fuzzyquery(trainkind, trainnum, track, coachnum, bogie, processdept); |
| | | return Service.Fuzzyquery(mhuNjtakeTDO); |
| | | } |
| | | |
| | | //[HttpPost, Route("Addhisy"), AllowAnonymous] |
| | |
| | | //} |
| | | |
| | | [HttpPost, Route("Submtandsave"), AllowAnonymous] //æäº¤å¹¶ä¿åæ¨¡æ¿ |
| | | public WebResponseContent Submtandsave(NjtakeDTO njtakeDTO) |
| | | public WebResponseContent Submtandsave([FromBody] NjtakeDTO njtakeDTO) |
| | | { |
| | | return Service.Submtandsave(njtakeDTO); |
| | | } |
| | | |
| | | |
| | | [HttpPost, Route("Submit"), AllowAnonymous] //æäº¤ |
| | | public WebResponseContent Submit(NotempDTO notempDTO) |
| | | public WebResponseContent Submit([FromBody] NotempDTO notempDTO) |
| | | { |
| | | return Service.Submit(notempDTO); |
| | | } |
| | | |
| | | |
| | | [HttpPost, Route("AddNJinfom"), AllowAnonymous] |
| | | public WebResponseContent AddNJinfom([FromBody] AddNjtDTO addNjtDTO) |
| | | { |
| | | return Service.AddNJinfom(addNjtDTO); |
| | | } |
| | | |
| | | [HttpGet, Route("GetNjdetail"), AllowAnonymous] |
| | | public WebResponseContent GetNjdetail(string njtaskID) |
| | | { |
| | | return Service.GetNjdetail(njtaskID); |
| | | } |
| | | |
| | | |
| | | [HttpPut, Route("PuNjtake"), AllowAnonymous] |
| | | public WebResponseContent PuNjtake([FromBody] PutNjtDTO putNjtDTO) |
| | | { |
| | | return Service.PuNjtake(putNjtDTO); |
| | | } |
| | | |
| | | } |
| | | } |