| | |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from ba_district |
| | | where level = #{level,jdbcType=TINYINT} |
| | | where deleted != 1 and level = #{level,jdbcType=TINYINT} |
| | | </select> |
| | | |
| | | <select id="selectBySupperId" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| | |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from ba_district |
| | | where supperId = #{supperId,jdbcType=BIGINT} |
| | | where deleted != 1 and supperId = #{supperId,jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDistrict"> |
| | | <insert id="putin" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDistrict"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_district (id, supperId, `name`, num, `level`, deleted) |
| | | values (#{id,jdbcType=BIGINT}, |