|
@@ -7,7 +7,6 @@ import com.alibaba.excel.EasyExcel;
|
|
|
import com.alibaba.excel.util.DateUtils;
|
|
|
import com.alibaba.excel.write.style.column.LongestMatchColumnWidthStyleStrategy;
|
|
|
import com.alibaba.fastjson2.JSONObject;
|
|
|
-import com.baomidou.dynamic.datasource.annotation.DSTransactional;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.fjhx.common.utils.Assert;
|
|
@@ -214,6 +213,8 @@ public class ProduceOrderDetailServiceImpl extends ServiceImpl<ProduceOrderDetai
|
|
|
//合同id过滤
|
|
|
wrapper.eq("c.id", dto.getContractId());
|
|
|
|
|
|
+ //订单归属过滤
|
|
|
+ wrapper.eq("c.belong_type ", dto.getContractBelongType());
|
|
|
|
|
|
return wrapper;
|
|
|
}
|
|
@@ -522,12 +523,6 @@ public class ProduceOrderDetailServiceImpl extends ServiceImpl<ProduceOrderDetai
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- @DSTransactional
|
|
|
- @Override
|
|
|
- public void editBeginWork(ProductionOrderDetailDto dto) {
|
|
|
- this.updateById(dto);
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public void beginWorkCheck(Long taskId) {
|
|
|
ProductionOrderDetail taskById = this.getById(taskId);
|