2024-05-09 17:17:03 +08:00
|
|
|
package com.ruoyi.redBook.mapper;
|
|
|
|
|
2024-05-13 16:03:01 +08:00
|
|
|
import com.ruoyi.customer.domain.Customer;
|
2024-05-09 17:17:03 +08:00
|
|
|
import com.ruoyi.material.domain.CMaterial;
|
|
|
|
import com.ruoyi.material.domain.CMaterialCost;
|
|
|
|
import com.ruoyi.material.domain.temp;
|
2024-05-12 11:24:28 +08:00
|
|
|
import com.ruoyi.redBook.domain.OAQuot;
|
|
|
|
import com.ruoyi.redBook.domain.OAQuotProduct;
|
2024-05-09 17:17:03 +08:00
|
|
|
import com.ruoyi.redBook.domain.Product;
|
2024-05-12 14:09:48 +08:00
|
|
|
import com.ruoyi.redBook.domain.RbVersionDateResult;
|
2024-05-10 15:13:35 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
2024-05-09 17:17:03 +08:00
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 红本管理Mapper接口
|
|
|
|
*
|
|
|
|
* @author ruoyi
|
|
|
|
* @date 2024-02-28
|
|
|
|
*/
|
|
|
|
public interface OARedBookMapper
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* 获取目录
|
|
|
|
* @param product
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Product> productModelList(Product product);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取备注信息
|
|
|
|
* @param product
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Product> productRemarkList(Product product);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 判断是否存在衍生型号
|
|
|
|
* @param product
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Product> productExtList(Product product);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取衍生型号
|
|
|
|
* @param product
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Product> productYsxhList(Product product);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 判断是否存在截面
|
|
|
|
* @param product
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Product> judgesection(Product product);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取截面
|
|
|
|
* @param product
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Product> productJmList(Product product);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 查询数据
|
|
|
|
* @param product
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Product> searchData(Product product);
|
2024-05-10 15:13:35 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 点击查询按钮查询数据
|
|
|
|
* @param name_0
|
|
|
|
* @param model
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Product> handleSearchData(@Param("name_0")String name_0,@Param("model")String model);
|
2024-05-12 11:24:28 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 保存报价单
|
|
|
|
* @param quot
|
|
|
|
*/
|
|
|
|
void insertOAQuot(OAQuot quot);
|
|
|
|
|
2024-05-14 15:19:02 +08:00
|
|
|
/**
|
|
|
|
* 修改报价单
|
|
|
|
* @param quot
|
|
|
|
*/
|
|
|
|
void updateOAQuot(OAQuot quot);
|
|
|
|
|
2024-05-12 11:24:28 +08:00
|
|
|
/**
|
|
|
|
* 新增报价单产品信息
|
|
|
|
* @param list
|
|
|
|
*/
|
|
|
|
void batchOAQuotProduct(List<OAQuotProduct> list);
|
2024-05-12 14:09:48 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取调价日期
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<RbVersionDateResult> versionList();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 根据选择的调价日期 更新已选择结果数据
|
|
|
|
* @param params
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<OAQuotProduct> queryRedBPriceByParams(@Param("params") List<OAQuotProduct> params);
|
2024-05-13 16:03:01 +08:00
|
|
|
|
2024-05-30 16:17:17 +08:00
|
|
|
/**
|
|
|
|
* 根据选择的调价日期 更新已选择结果数据
|
|
|
|
* @param name_0
|
|
|
|
* @param uid_0
|
|
|
|
* @return
|
|
|
|
*/
|
2024-07-03 13:26:21 +08:00
|
|
|
String getFixDatePrice(@Param("name_0") String name_0, @Param("uid_0") String uid_0);
|
2024-05-30 16:17:17 +08:00
|
|
|
|
2024-05-31 16:37:12 +08:00
|
|
|
/**
|
2024-06-17 12:49:35 +08:00
|
|
|
* 导入明细批量获取红本价格-型号、规格、电压、数量
|
|
|
|
* @param name_1
|
2024-05-31 16:37:12 +08:00
|
|
|
* @param spec
|
|
|
|
* @param rbUid
|
|
|
|
* @return
|
|
|
|
*/
|
2024-06-13 20:42:14 +08:00
|
|
|
OAQuotProduct getFixDatePrice2(@Param("name_1") String name_1, @Param("spec") String spec, @Param("voltage") String voltage, @Param("uid_0") String rbUid);
|
2024-05-31 16:37:12 +08:00
|
|
|
|
2024-06-17 12:49:35 +08:00
|
|
|
/**
|
|
|
|
* 导入明细批量获取红本价格-品名型号
|
|
|
|
* @param name_0
|
|
|
|
* @param rbUid
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
OAQuotProduct getFixDatePrice3(@Param("name_0") String name_0, @Param("uid_0") String rbUid);
|
|
|
|
|
2024-05-13 16:03:01 +08:00
|
|
|
/**
|
|
|
|
* 查询已生成的报价单列表
|
|
|
|
* @param oaQuot
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<Customer> listQuots(OAQuot oaQuot);
|
2024-05-14 10:31:00 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取报价详细信息
|
|
|
|
* @param quotId
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
OAQuot selectQuotByQuotId(String quotId);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 删除报价单
|
|
|
|
* @param quotId
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
int deleteQuotsByQuotId(String quotId);
|
|
|
|
void deleteQuotProductsByCusId(String quotId);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取本地记录的调价版本
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
String rb_price_version();
|
2024-05-14 15:19:02 +08:00
|
|
|
|
2024-06-13 20:42:14 +08:00
|
|
|
/**
|
|
|
|
* 获取单据编号
|
|
|
|
* @param type
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
String getCode(String type);
|
2024-05-09 17:17:03 +08:00
|
|
|
}
|