build/classes/dao/WrongMapper.xml

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?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="dao.WrongMapper" >
<resultMap id="BaseResultMap" type="Pojo.Wrong" >
    <id column="id" property="id" jdbcType="INTEGER" />
    <result column="house_id" property="house_id" jdbcType="VARCHAR" />
    <result column="address" property="address" jdbcType="VARCHAR" />
   
    <result column="date" property="date" jdbcType="DATE" />
    <result column="detail" property="detail" jdbcType="VARCHAR" />
    <result column="name" property="name" jdbcType="VARCHAR" />
    <result column="userlist_id" property="userlist_id" jdbcType="INTEGER" />
    <result column="status" property="status" jdbcType="VARCHAR" />
  </resultMap>
  <select id="findwrong" parameterType="Pojo.QueryVo" resultMap="BaseResultMap">
		select * from wrong 
		  <where>
		
		<if test="userlist_id!=null and userlist_id!=''">
		and userlist_id=#{userlist_id}
		</if>
		
		</where>
	</select>
	<select id="findbyid" parameterType="Integer" resultType="Pojo.Wrong">
		select * from wrong 
		  where id=#{id}
	</select>
	<insert id="insertwrong" parameterType="Pojo.Wrong" >
		 insert into wrong(house_id,address,date,detail,status,name,userlist_id) 
	  values(#{house_id},#{address},#{date},#{detail},#{status},#{name},#{userlist_id})
	</insert>
	<delete id="deletewrong" parameterType="Integer" >
		delete from wrong  where id=#{id}
	</delete>
</mapper>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。