Commit e9d66767 authored by chenzhao's avatar chenzhao

修改问题

parent a440a964
......@@ -304,7 +304,7 @@ public class InputItemExcelDto extends BaseDto {
public void setKeyPartsType(String keyPartsType) {
// this.keyPartsType = StringUtils.isEmpty(keyPartsType) ? "1":keyPartsType;
this.keyPartsType =StringUtils.isEmpty(keyPartsType) ? (keyPartsType.equals("是")?"0":"1") :keyPartsType;
this.keyPartsType =StringUtils.isNotEmpty(keyPartsType) ? (keyPartsType.equals("是")?"0":"1") :keyPartsType;
}
......@@ -318,7 +318,7 @@ public class InputItemExcelDto extends BaseDto {
}*/
public void setCustomType(String customType) {
this.customType =StringUtils.isEmpty(customType) ? (customType.equals("是")?"0":"1") :customType;
this.customType =StringUtils.isNotEmpty(customType) ? (customType.equals("是")?"0":"1") :customType;
}
public String getUnit() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment