1.调整东山接口,上传单据时修改价格为第三方产品信息的价格
parent
c7df0c981a
commit
ce50458981
@ -0,0 +1,16 @@
|
||||
package com.glxp.mipsdl.admin.dao.thrsys;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
@Mapper
|
||||
public interface ThrProductsDao {
|
||||
|
||||
/**
|
||||
* 查询第三方产品维护的价格
|
||||
*
|
||||
* @param code
|
||||
* @return
|
||||
*/
|
||||
String selectPriceByCode(@Param("code") String code);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
|
||||
<mapper namespace="com.glxp.mipsdl.admin.dao.thrsys.ThrProductsDao">
|
||||
<select id="selectPriceByCode" resultType="java.lang.String">
|
||||
select price
|
||||
from thr_products
|
||||
where code = #{code}
|
||||
</select>
|
||||
</mapper>
|
Loading…
Reference in New Issue