羊奶出入库
This commit is contained in:
parent
f999f00a6e
commit
feffe7f9ff
@ -46,7 +46,6 @@ public class NpMilkInOutStoreController extends BaseController {
|
|||||||
service.batchInsertFromRows(list);
|
service.batchInsertFromRows(list);
|
||||||
return AjaxResult.success("导入成功");
|
return AjaxResult.success("导入成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 导出 Excel */
|
/** 导出 Excel */
|
||||||
@PreAuthorize("@ss.hasPermi('milkInOutStore:export')")
|
@PreAuthorize("@ss.hasPermi('milkInOutStore:export')")
|
||||||
@Log(title="导出羊奶出入库", businessType=BusinessType.EXPORT)
|
@Log(title="导出羊奶出入库", businessType=BusinessType.EXPORT)
|
||||||
|
@ -38,7 +38,6 @@ public class NpSheepMilkAnalysisController extends BaseController {
|
|||||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||||
return AjaxResult.success(npSheepMilkAnalysisService.selectNpSheepMilkAnalysisById(id));
|
return AjaxResult.success(npSheepMilkAnalysisService.selectNpSheepMilkAnalysisById(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增奶产量分析记录
|
* 新增奶产量分析记录
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package com.zhyc.module.dairyProducts.domain;
|
package com.zhyc.module.dairyProducts.domain;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
public class NpSheepMilkAnalysis {
|
public class NpSheepMilkAnalysis {
|
||||||
private String sheepId;
|
private String sheepId;
|
||||||
private String manageEarTag;
|
private String manageEarTag;
|
||||||
|
@ -13,7 +13,6 @@ public interface NpMilkInOutStoreMapper {
|
|||||||
@Param("feedSources") List<String> feedSources,
|
@Param("feedSources") List<String> feedSources,
|
||||||
@Param("saleDestinations") List<String> saleDestinations
|
@Param("saleDestinations") List<String> saleDestinations
|
||||||
);
|
);
|
||||||
|
|
||||||
int insertStore(NpMilkInOutStore store);
|
int insertStore(NpMilkInOutStore store);
|
||||||
void insertFeedRecord(@Param("storeId") Integer storeId, @Param("source") String source, @Param("amount") java.math.BigDecimal amount);
|
void insertFeedRecord(@Param("storeId") Integer storeId, @Param("source") String source, @Param("amount") java.math.BigDecimal amount);
|
||||||
void insertSaleRecord(@Param("storeId") Integer storeId, @Param("destination") String dest, @Param("amount") java.math.BigDecimal amount);
|
void insertSaleRecord(@Param("storeId") Integer storeId, @Param("destination") String dest, @Param("amount") java.math.BigDecimal amount);
|
||||||
|
@ -32,7 +32,6 @@ public class NpMilkInOutStoreServiceImpl implements INpMilkInOutStoreService {
|
|||||||
m.put("sale", mapper.selectSaleDestinations());
|
m.put("sale", mapper.selectSaleDestinations());
|
||||||
return Collections.singletonList(m);
|
return Collections.singletonList(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Map<String, Object>> parseImportExcel(MultipartFile file) throws Exception {
|
public List<Map<String, Object>> parseImportExcel(MultipartFile file) throws Exception {
|
||||||
// 用 Apache POI 解析 Excel 第一行标题,动态映射列名跟 unit cells
|
// 用 Apache POI 解析 Excel 第一行标题,动态映射列名跟 unit cells
|
||||||
|
Loading…
x
Reference in New Issue
Block a user