作者 张晓杰

Merge branch 'dev' of http://39.105.222.208:1024/leihd/factory-java into dev

... ... @@ -94,6 +94,13 @@ public class TblProductionGongxuController extends JeecgController<TblProduction
tblProductionGongxuService.updateByNumber(tblOrderForm);
return Result.OK("添加成功!");
}
//批量修改工序验收
@PutMapping("/updateYan")
public Result<?> updateYan(@RequestBody List<TblProductionGongxu> tblProductionGongxuList){
boolean b = tblProductionGongxuService.updateBatchById(tblProductionGongxuList);
return Result.ok("修改成功");
}
/**
* 编辑
... ...
... ... @@ -3,7 +3,7 @@
<mapper namespace="org.jeecg.modules.erp.production.mapper.TblProductionGongxuMapper">
<update id="updateByNumber">
update tbl_order_form set dispatched_working_hours=#{dispatchedWorkingHours}
update tbl_order_form set dispatched_working_hours=#{dispatchedWorkingHours},dispatch_status=1
where order_id=#{orderId}
</update>
<select id="getByhours" resultType="org.jeecg.modules.erp.order_form.entity.TblOrderForm">
... ...