Commit 11dc7b0c by 雷紫添

Merge remote-tracking branch 'remotes/origin/master'

parents 59cacb98 e0039f67
package org.springblade.founder.asj.mapper;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.springblade.founder.asj.entity.*;
import org.springblade.founder.flwsfj.entity.TbStAsjFlws;
......@@ -14,7 +15,10 @@ import java.util.Map;
@Component
@Mapper
public interface AjDetailMapper {
public TbStAsj getTbStAsjByAsjbh(String asjbh);
@DS("db1")
public TbStAsj getAsjByAsjbh(String asjbh);
public List<TbXwZbfzxyr> getFzxyrxxByAsjbh(Map map);
public Integer getFzxyrxxByAsjbhTotalCount(String asjbh);
......
......@@ -204,8 +204,17 @@
from TB_ST_ASJ asj LEFT JOIN tb_xw_asjcz asjcz on asj.asjbh=asjcz.asjbh
WHERE asj.asjbh=#{asjbh,jdbcType=VARCHAR}
and asj.xxsc_pdbz='0'
</select>
<select id="getAsjByAsjbh" resultType="org.springblade.founder.asj.entity.TbStAsj" parameterType="java.lang.String">
select
asj.xxrsksj as xxrsksj,
asj.asjbh as asjbh
from TB_ST_ASJ asj LEFT JOIN tb_xw_asjcz asjcz on asj.asjbh=asjcz.asjbh
WHERE asj.asjbh=#{asjbh,jdbcType=VARCHAR}
and asj.xxsc_pdbz='0'
</select>
<select id="getFzxyrxxByAsjbh" parameterType="java.util.Map" resultType="org.springblade.founder.asj.entity.TbXwZbfzxyr">
select
xyr.XXZJBH,
......
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