main
黄海 2 years ago
parent 93010887ea
commit 298a74285b

@ -296,25 +296,25 @@ public class CollectController extends Controller {
PoiUtil.addComment(wb, cell, "此列内容必须输入!"); PoiUtil.addComment(wb, cell, "此列内容必须输入!");
} }
// int data_type_id = record.getInt("data_type_id"); int data_type_id = record.getInt("data_type_id");
// if (data_type_id == 2) { if (data_type_id == 2) {
// if (!allow_blank) PoiUtil.addComment(wb, cell, "此列内容必须输入,并且需要输入整数!"); if (!allow_blank) PoiUtil.addComment(wb, cell, "此列内容必须输入,并且需要输入整数!");
// else PoiUtil.addComment(wb, cell, "此列需要输入整数!"); else PoiUtil.addComment(wb, cell, "此列需要输入整数!");
// } }
// if (data_type_id == 3) { if (data_type_id == 3) {
// if (!allow_blank) { if (!allow_blank) {
// PoiUtil.addComment(wb, cell, "此列内容必须输入,并且需要输入小数!"); PoiUtil.addComment(wb, cell, "此列内容必须输入,并且需要输入小数!");
// } else { } else {
// PoiUtil.addComment(wb, cell, "此列需要输入小数!"); PoiUtil.addComment(wb, cell, "此列需要输入小数!");
// } }
// } }
// if (data_type_id == 4) { if (data_type_id == 4) {
// if (!allow_blank) { if (!allow_blank) {
// PoiUtil.addComment(wb, cell, "此列内容必须输入并且需要输入日期格式为yyyy/mm/dd!"); PoiUtil.addComment(wb, cell, "此列内容必须输入并且需要输入日期格式为yyyy/mm/dd!");
// } else { } else {
// PoiUtil.addComment(wb, cell, "此列需要输入日期格式为yyyy/mm/dd!"); PoiUtil.addComment(wb, cell, "此列需要输入日期格式为yyyy/mm/dd!");
// } }
// } }
colIdx++; colIdx++;
} }
} }

Loading…
Cancel
Save