数据导出验证(服务器需要修改路径)
master
Limy 4 years ago
parent 6e10f7d7f2
commit 25aa7deaaa

@ -66,7 +66,11 @@ public class SelectWorktrayrealtimeinfoController extends BaseController {
List<TRpWorktrayrealtimeinfo> list = tRpWorktrayrealtimeinfoService.selectrealtimeinfoList(tRpWorktrayrealtimeinfo);
for (TRpWorktrayrealtimeinfo tw:list)
{
tw.setProductCode(tw.getBarcoderelationship().getProductBarcode());
if(tw.getBarcoderelationship()!=null){
if (tw.getBarcoderelationship().getProductBarcode()!=null){
tw.setProductCode(tw.getBarcoderelationship().getProductBarcode());
}
}
}
ExcelUtil<TRpWorktrayrealtimeinfo> util = new ExcelUtil<TRpWorktrayrealtimeinfo>(TRpWorktrayrealtimeinfo.class);
return util.exportExcel(list, "托盘实时信息");

@ -32,7 +32,7 @@ public class TRpWorktrayrealtimeinfo extends BaseEntity
private String currentStation;
/** 质量品级 */
@Excel(name = "质量品级(1合格2不合格)")
// @Excel(name = "质量品级(1合格2不合格)")
private Long state;
/** 使用状态 */

Loading…
Cancel
Save