Commit 905420ae2b0de5b80bb64f8ab7f08ffd88f2913c

Authored by wangqian
1 parent 792ebaa8

模板下载存在兼容问题修改

urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/controller/admin/costfee/CostFeeController.java
... ... @@ -208,8 +208,8 @@ public class CostFeeController{
208 208 }
209 209 String unit = cell.getStringCellValue();
210 210 // 默认赋值【第一个单位】,你可以根据业务改成其他值
211   - if (!StringUtils.isEmpty(unit) && options.size() > 3) {
212   - cell.setCellValue(options.get(2));
  211 + if (!StringUtils.isEmpty(unit)) {
  212 + cell.setCellValue(options.get(0));
213 213 }
214 214 }
215 215  
... ...