| Controllers/DevMachineController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Services/DevMachineManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Services/WomdaaManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Controllers/DevMachineController.cs
@@ -63,7 +63,7 @@ /// </summary> /// <returns></returns> [HttpPost("UpdateDevMachine")] public ResponseResult UpdateDevMachine([FromBody] DevMachine data) public ResponseResult UpdateDevMachine([FromBody] DevMacBycl data) { try { @@ -84,7 +84,7 @@ //GetDevMachineByPdaMac [HttpPost("GetDevMachineByPdaMac")] public ResponseResult GetDevMachineByPdaMac([FromBody] DevMachine data) public ResponseResult GetDevMachineByPdaMac([FromBody] DevMacBycl data) { try { @@ -181,7 +181,7 @@ /// </summary> /// <returns></returns> [HttpPost("Insert")] public ResponseResult Add([FromBody] DevMachine data) public ResponseResult Add([FromBody] DevMacBycl data) { try { @@ -205,7 +205,7 @@ /// </summary> /// <returns></returns> [HttpPost("InsertReturnIdentity")] public ResponseResult InsertReturnIdentity([FromBody] DevMachine data) public ResponseResult InsertReturnIdentity([FromBody] DevMacBycl data) { try { @@ -229,7 +229,7 @@ /// </summary> /// <returns></returns> [HttpPost("Update")] public ResponseResult Update([FromBody] DevMachine data) public ResponseResult Update([FromBody] DevMacBycl data) { try { Services/DevMachineManager.cs
@@ -3,11 +3,11 @@ namespace PadApplication.Services; public class DevMachineManager : Repository<DevMachine> public class DevMachineManager : Repository<DevMacBycl> { public bool UpdateDevMachine(DevMachine devMachine) public bool UpdateDevMachine(DevMacBycl devMachine) { return Db.Updateable<DevMachine>() return Db.Updateable<DevMacBycl>() .SetColumns(s => s.PdaMac == devMachine.PdaMac) .SetColumns(s => s.PrintMac == devMachine.PrintMac) .Where(s => s.MachineNo == devMachine.MachineNo) Services/WomdaaManager.cs
@@ -166,7 +166,7 @@ vOrder.wjQty = vOrder.Daa008 - vOrder.Daa011; //DevMachine var devMachine = Db.Queryable<DevMachine>() var devMachine = Db.Queryable<DevMacBycl>() .Where(s => s.MachineNo == vOrder.MachineNo) .First();