羊奶出入库

This commit is contained in:
ll 2025-07-31 23:26:38 +08:00
parent f999f00a6e
commit feffe7f9ff
12 changed files with 7 additions and 12 deletions

View File

@ -46,7 +46,6 @@ public class NpMilkInOutStoreController extends BaseController {
service.batchInsertFromRows(list);
return AjaxResult.success("导入成功");
}
/** 导出 Excel */
@PreAuthorize("@ss.hasPermi('milkInOutStore:export')")
@Log(title="导出羊奶出入库", businessType=BusinessType.EXPORT)

View File

@ -38,7 +38,6 @@ public class NpSheepMilkAnalysisController extends BaseController {
public AjaxResult getInfo(@PathVariable("id") Long id) {
return AjaxResult.success(npSheepMilkAnalysisService.selectNpSheepMilkAnalysisById(id));
}
/**
* 新增奶产量分析记录
*/

View File

@ -1,7 +1,6 @@
package com.zhyc.module.dairyProducts.domain;
import java.util.Date;
public class NpSheepMilkAnalysis {
private String sheepId;
private String manageEarTag;

View File

@ -13,7 +13,6 @@ public interface NpMilkInOutStoreMapper {
@Param("feedSources") List<String> feedSources,
@Param("saleDestinations") List<String> saleDestinations
);
int insertStore(NpMilkInOutStore store);
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);

View File

@ -32,7 +32,6 @@ public class NpMilkInOutStoreServiceImpl implements INpMilkInOutStoreService {
m.put("sale", mapper.selectSaleDestinations());
return Collections.singletonList(m);
}
@Override
public List<Map<String, Object>> parseImportExcel(MultipartFile file) throws Exception {
// Apache POI 解析 Excel 第一行标题动态映射列名跟 unit cells