rev:库存导出
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
vm.qty,
|
||||
vm.frozen_qty,
|
||||
vm.unit_id,
|
||||
vm.vehicle_id,
|
||||
vm.id,
|
||||
vm.parent_vehicle_code,
|
||||
material.material_code,
|
||||
material.material_name,
|
||||
|
||||
@@ -16,6 +16,7 @@ public class StructattrQuery extends BaseQuery<StIvtStructattr> {
|
||||
private String search;
|
||||
private String stor_code;
|
||||
private String sect_code;
|
||||
private String struct_code;
|
||||
private String lock_type;
|
||||
private Boolean is_used;
|
||||
private String vehicle_code;
|
||||
|
||||
@@ -200,7 +200,7 @@ public class StIvtStructattrServiceImpl extends ServiceImpl<StIvtStructattrMappe
|
||||
@Override
|
||||
public TableDataInfo<Map> getStructIvt(StructattrQuery query, PageQuery pageQuery) {
|
||||
Page<Object> page = PageHelper.startPage(pageQuery.getPage() + 1, pageQuery.getSize());
|
||||
page.setOrderBy("struct.create_time DESC");
|
||||
page.setOrderBy("struct.update_time DESC");
|
||||
List<Map> mst_detail = this.baseMapper.getStructIvt(query, pageQuery);
|
||||
TableDataInfo<Map> build = TableDataInfo.build(mst_detail);
|
||||
build.setTotalElements(page.getTotal());
|
||||
|
||||
@@ -105,7 +105,7 @@ export function exportFile(data) {
|
||||
return request({
|
||||
url: '/api/structattr/exportFile',
|
||||
method: 'post',
|
||||
renponseType: 'blob',
|
||||
responseType: 'blob',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user