whycxzp
2022-08-12 8e252dca390a775f23b6ad621f81e39cac1b11e3
更新审批
3个文件已修改
14 ■■■■■ 已修改文件
src/main/java/com/whyc/pojo/ComponentApproving.java 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/ComponentApprovingService.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/WorksheetMainMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/pojo/ComponentApproving.java
@@ -54,6 +54,9 @@
    private Integer mainId;
    @ApiModelProperty("操作类型:-1删除,1新增")
    private Integer operationType;
    public Integer getId() {
        return id;
    }
@@ -221,4 +224,12 @@
    public void setMainId(Integer mainId) {
        this.mainId = mainId;
    }
    public Integer getOperationType() {
        return operationType;
    }
    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }
}
src/main/java/com/whyc/service/ComponentApprovingService.java
@@ -90,7 +90,7 @@
                Row row3 = sheet.getRow(3);
                String productVersion = row3.getCell(5).getStringCellValue();
                for (int l = 8; l < lastRowNum-1; l++) {
                    Cell cellTemp = sheet.getRow(l).getCell(1);
                    Cell cellTemp = sheet.getRow(l).getCell(4);
                    cellTemp.setCellType(Cell.CELL_TYPE_STRING);
                    if(cellTemp.getStringCellValue().equals("")){
                        break;
src/main/resources/mapper/WorksheetMainMapper.xml
@@ -73,6 +73,7 @@
            <result column="dwg_url" property="dwgUrl"/>
            <result column="create_date" property="createDate"/>
            <result column="update_date" property="updateDate"/>
            <result column="operation_type" property="operationType"/>
        </collection>
    </resultMap>
    <resultMap id="Map_WorksheetMain2" type="WorksheetMain" extends="Map_WorksheetMain">