Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/src/commit/8a631c477b421555d63f4e935b90bc3dd6d1b647/ruoyi-system/src/main/resources/mapper/system/TdPropertyEmentMapper.xml You should set ROOT_URL correctly, otherwise the web may not work correctly.
ry_zhky/ruoyi-system/src/main/resources/mapper/system/TdPropertyEmentMapper.xml

51 lines
2.6 KiB

<?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="com.ruoyi.system.mapper.TdPropertyEmentMapper">
<resultMap id="BaseResultMap" type="com.ruoyi.system.domain.TdPropertyEment">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="useId" column="use_id" jdbcType="VARCHAR"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="purposes" column="purposes" jdbcType="VARCHAR"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
<result property="maintainDepart" column="maintain_depart" jdbcType="VARCHAR"/>
<result property="maintainUser" column="maintain_user" jdbcType="VARCHAR"/>
<result property="maintainDate" column="maintain_date" jdbcType="TIMESTAMP"/>
<result property="maintainState" column="maintain_state" jdbcType="VARCHAR"/>
<result property="destoryState" column="destory_state" jdbcType="VARCHAR"/>
<result property="destoryDepart" column="destory_depart" jdbcType="VARCHAR"/>
<result property="destoryUser" column="destory_user" jdbcType="VARCHAR"/>
<result property="destoryDate" column="destory_date" jdbcType="TIMESTAMP"/>
<result property="destoryType" column="destory_type" jdbcType="VARCHAR"/>
<result property="maintainRemark" column="maintain_remark" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="maintainStand" column="maintain_stand" jdbcType="VARCHAR"/>
<result property="destoryStand" column="destory_stand" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
id,use_id,name,
purposes,remark,maintain_depart,
maintain_user,maintain_date,maintain_state,
destory_state,destory_depart,destory_user,
destory_date,destory_type,maintain_remark,
create_time,maintain_stand,destory_stand
</sql>
<select id="selectEmentList" resultType="com.ruoyi.system.domain.TdPropertyEment">
select <include refid="Base_Column_List"/> from td_property_ement
<trim prefix="where" prefixOverrides="and|or">
<if test="name!=null and name!=''">
AND name LIKE concat('%',#{name},'%')
</if>
<if test="useId!=null and useId!=''">
AND use_id=#{useId}
</if>
</trim>
ORDER BY create_time DESC
</select>
</mapper>