Commit 153d06c8 by Suvalue

维度板块数值接口修改

parent 18b7910e
package com.bsoft.api.mapper;
import com.bsoft.api.model.SerDimValue;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
public interface SerDimValueMapper {
int deleteByPrimaryKey(BigDecimal id);
int insert(SerDimValue record);
SerDimValue selectByPrimaryKey(BigDecimal id);
List<SerDimValue> selectAll();
int updateByPrimaryKey(SerDimValue record);
List<SerDimValue> selectByDimId(@Param("pageCode") String pageCode,@Param("orgId") Long orgId,
@Param("dimId") Long dimId,@Param("date") String date);
}
\ No newline at end of file
......@@ -50,7 +50,7 @@
<select id="selectByPageCode" resultMap="BaseResultMap">
SELECT d.*
from DIC_DIM d
LEFT JOIN(
JOIN(
SELECT DISTINCT pdr.DIM_ID FROM SER_PAGE_DIM_RS pdr LEFT JOIN SER_PAGE p ON pdr.PAGE_ID = p.ID AND p.PAGE_CODE =#{pageCode,jdbcType=VARCHAR}) d2
on d.ID=d2.DIM_ID
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment