Merge branch 'dev' of http://39.105.222.208:1024/leihd/factory-java into dev
正在显示
2 个修改的文件
包含
8 行增加
和
1 行删除
| @@ -95,6 +95,13 @@ public class TblProductionGongxuController extends JeecgController<TblProduction | @@ -95,6 +95,13 @@ public class TblProductionGongxuController extends JeecgController<TblProduction | ||
| 95 | return Result.OK("添加成功!"); | 95 | return Result.OK("添加成功!"); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | + //批量修改工序验收 | ||
| 99 | + @PutMapping("/updateYan") | ||
| 100 | + public Result<?> updateYan(@RequestBody List<TblProductionGongxu> tblProductionGongxuList){ | ||
| 101 | + boolean b = tblProductionGongxuService.updateBatchById(tblProductionGongxuList); | ||
| 102 | + return Result.ok("修改成功"); | ||
| 103 | + } | ||
| 104 | + | ||
| 98 | /** | 105 | /** |
| 99 | * 编辑 | 106 | * 编辑 |
| 100 | * | 107 | * |
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <mapper namespace="org.jeecg.modules.erp.production.mapper.TblProductionGongxuMapper"> | 3 | <mapper namespace="org.jeecg.modules.erp.production.mapper.TblProductionGongxuMapper"> |
| 4 | 4 | ||
| 5 | <update id="updateByNumber"> | 5 | <update id="updateByNumber"> |
| 6 | - update tbl_order_form set dispatched_working_hours=#{dispatchedWorkingHours} | 6 | + update tbl_order_form set dispatched_working_hours=#{dispatchedWorkingHours},dispatch_status=1 |
| 7 | where order_id=#{orderId} | 7 | where order_id=#{orderId} |
| 8 | </update> | 8 | </update> |
| 9 | <select id="getByhours" resultType="org.jeecg.modules.erp.order_form.entity.TblOrderForm"> | 9 | <select id="getByhours" resultType="org.jeecg.modules.erp.order_form.entity.TblOrderForm"> |
-
请 注册 或 登录 后发表评论