|
@@ -25,6 +25,7 @@ import com.github.zuihou.common.constant.CodeRuleModule;
|
|
|
import com.github.zuihou.common.constant.RepeatCacheKey;
|
|
|
import com.github.zuihou.common.util.DateUtil;
|
|
|
import com.github.zuihou.common.util.StringUtil;
|
|
|
+import com.github.zuihou.context.BaseContextHandler;
|
|
|
import com.github.zuihou.database.mybatis.conditions.Wraps;
|
|
|
import com.github.zuihou.database.mybatis.conditions.query.LbqWrapper;
|
|
|
import com.github.zuihou.security.model.SysUser;
|
|
@@ -87,6 +88,7 @@ public class WorkpieceServiceImpl extends SuperServiceImpl<WorkpieceMapper, TWor
|
|
|
|
|
|
@Override
|
|
|
public Map getInfoByPoint(String pointId) {
|
|
|
+ BaseContextHandler.setTenant("0000");
|
|
|
Map<String,String> map = new<String,String> HashMap();
|
|
|
|
|
|
List<TWorkpiece> list = baseMapper.selectList(Wraps.<TWorkpiece>lbQ().eq(TWorkpiece::getPointId,pointId));
|
|
@@ -121,6 +123,7 @@ public class WorkpieceServiceImpl extends SuperServiceImpl<WorkpieceMapper, TWor
|
|
|
|
|
|
@Override
|
|
|
public List<ProductionresourcePosition> getAllStockInfo() {
|
|
|
+ BaseContextHandler.setTenant("0000");
|
|
|
Map map = new HashMap();
|
|
|
map.put("fullFlag","1");
|
|
|
List<ProductionresourcePosition> jbwBList = productionresourcePositionMapper.getPPList(map);
|
|
@@ -131,6 +134,7 @@ public class WorkpieceServiceImpl extends SuperServiceImpl<WorkpieceMapper, TWor
|
|
|
|
|
|
@Override
|
|
|
public String execute(Map map) {
|
|
|
+ BaseContextHandler.setTenant("0000");
|
|
|
return handModeWorkNode.getRequestParam(map);
|
|
|
}
|
|
|
}
|