|
|
|
@ -259,6 +259,8 @@ public class IWCInterfaceServiceImpl implements IWCSInterfaceService {
|
|
|
|
|
return R.ok(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void dateBKFunc(String poolName,List<String> tables){
|
|
|
|
|
DynamicDataSourceContextHolder.push(poolName);// 这是数据源的key
|
|
|
|
|
DateTimeFormatter ymdhms = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
|
@ -322,6 +324,17 @@ public class IWCInterfaceServiceImpl implements IWCSInterfaceService {
|
|
|
|
|
return "保存成功条数:"+saveNum;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map getDryRoomData(BoardDTO boardDTO) {
|
|
|
|
|
DynamicDataSourceContextHolder.push("ds_"+boardDTO.getFactory());// 这是数据源的key
|
|
|
|
|
//成型机清单
|
|
|
|
|
Map map=new HashMap();
|
|
|
|
|
List<Map<String,String>> eqmapList = mesMapper.selectcxjList();
|
|
|
|
|
map.put("result",eqmapList);
|
|
|
|
|
return map;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void main(String args[]){
|
|
|
|
|
DateTimeFormatter ymdhms = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
|
|
LocalDate today = LocalDate.now();
|
|
|
|
|