pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientMapper.xml
@@ -337,4 +337,14 @@ LIMIT ${pageCurr}, ${pageSize} </if> </select> <!--根据农户编号获取5级行政区划代码--> <select id="getAreaCodeByNum" resultType="java.lang.Long"> SELECT districtNum FROM se_client WHERE clientNum = ${clientNum} </select> <!--根据农户编号获取农户ID--> <select id="getClientIdByNum" resultType="java.lang.Long"> SELECT id FROM se_client WHERE clientNum = ${clientNum} </select> </mapper>