fix: 住建厅上传
This commit is contained in:
@@ -91,6 +91,9 @@ public class DataFujian extends Model<DataFujian> {
|
|||||||
public DataFujian (Row row, MaterialTask task) {
|
public DataFujian (Row row, MaterialTask task) {
|
||||||
var policy = Row.MissingCellPolicy.CREATE_NULL_AS_BLANK;
|
var policy = Row.MissingCellPolicy.CREATE_NULL_AS_BLANK;
|
||||||
row.getCell(0, policy).setCellType(CellType.STRING);
|
row.getCell(0, policy).setCellType(CellType.STRING);
|
||||||
|
row.getCell(1, policy).setCellType(CellType.STRING);
|
||||||
|
row.getCell(2, policy).setCellType(CellType.STRING);
|
||||||
|
row.getCell(3, policy).setCellType(CellType.STRING);
|
||||||
row.getCell(5, policy).setCellType(CellType.NUMERIC);
|
row.getCell(5, policy).setCellType(CellType.NUMERIC);
|
||||||
this.setNumber(row.getCell(0, policy).getStringCellValue());
|
this.setNumber(row.getCell(0, policy).getStringCellValue());
|
||||||
this.setName(row.getCell(1, policy).getStringCellValue().replace(" ", ""));
|
this.setName(row.getCell(1, policy).getStringCellValue().replace(" ", ""));
|
||||||
|
@@ -5,3 +5,5 @@ UPDATE MATERIAL SET ROUND_BIT = 1, ROUND_METHOD = 'none' WHERE ID IN ('2005002',
|
|||||||
DROP INDEX Idx_key ON data_fujian;
|
DROP INDEX Idx_key ON data_fujian;
|
||||||
DROP INDEX Idx_key ON fuzhou_highway_bureau;
|
DROP INDEX Idx_key ON fuzhou_highway_bureau;
|
||||||
DROP INDEX Idx_key ON fujian_survey;
|
DROP INDEX Idx_key ON fujian_survey;
|
||||||
|
ALTER TABLE material ALTER COLUMN ROUND_BIT SET DEFAULT 1;
|
||||||
|
ALTER TABLE material ALTER COLUMN ROUND_METHOD SET DEFAULT 'normal';
|
Reference in New Issue
Block a user