| | |
| | | } |
| | | |
| | | @Transactional |
| | | public void savaInMysql(List<TbDkjbxxEntity> list, String workspaceId,int id,String name) { |
| | | public void savaInMysql(List<TbDkjbxxEntity> list, String workspaceId,String id,String name) { |
| | | for (int i = 0; i < list.size(); i++) { |
| | | LotInfo lotInfo = new LotInfo(); |
| | | lotInfo.setWorkspaceId(workspaceId); |
| | |
| | | * @param file 需要转换的DKJBXX对象。 |
| | | * @return 返回一个构建好的LotInfo对象,包含从数据库实体中转换来的信息。 |
| | | */ |
| | | private LotInfo dbConvertToEntity(TbDkjbxxEntity file, String workspaceId,int id,String name) { |
| | | private LotInfo dbConvertToEntity(TbDkjbxxEntity file, String workspaceId,String id,String name) { |
| | | LotInfo.LotInfoBuilder builder = LotInfo.builder(); |
| | | builder.bsm(file.getFId()) |
| | | .xzqdm(file.getFXzqdmsys()) |
| | | .xzqdm(file.getFXzqdm()) |
| | | .dkbh(file.getFTbbh()) |
| | | .dkfw(file.getFShape()) |
| | | .workspaceId(workspaceId) |