Commit df62f963 authored by hongguangwu's avatar hongguangwu

MVP1.6.2-企微出差主逻辑

parent a731f446
...@@ -6,34 +6,36 @@ ...@@ -6,34 +6,36 @@
<resultMap id="BaseResultMap" type="com.yifu.cloud.plus.v1.yifu.permission.entity.EkpQiwiChuchai"> <resultMap id="BaseResultMap" type="com.yifu.cloud.plus.v1.yifu.permission.entity.EkpQiwiChuchai">
<id property="fdId" column="fd_ID" /> <id property="fdId" column="fd_ID" />
<result property="spNo" column="SP_NO"/> <result property="spNo" column="FD_SP_NO"/>
<result property="applyUserName" column="APPLY_USER_NAME"/> <result property="applyUserName" column="FD_APPLY_USER_NAME"/>
<result property="applyUserDept" column="APPLY_USER_DEPT"/> <result property="applyUserDept" column="FD_APPLY_USER_DEPT"/>
<result property="applyDate" column="APPLY_DATE"/> <result property="applyDate" column="FD_APPLY_DATE"/>
<result property="newBegin" column="NEW_BEGIN"/> <result property="newBegin" column="FD_NEW_BEGIN"/>
<result property="newEnd" column="NEW_END"/> <result property="newEnd" column="FD_NEW_END"/>
<result property="reason" column="REASON"/> <result property="reason" column="FD_REASON"/>
<result property="person" column="PERSON"/> <result property="person" column="FD_PERSON"/>
<result property="address" column="ADDRESS"/> <result property="address" column="FD_ADDRESS"/>
<result property="tools" column="TOOLS"/> <result property="tools" column="FD_TOOLS"/>
<result property="status" column="STATUS"/> <result property="status" column="FD_STATUS"/>
<result property="settleFormId" column="SETTLE_FORM_ID"/> <result property="settleFormId" column="FD_SETTLE_FORM_ID"/>
<result property="createTime" column="create_time"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
a.FD_ID, a.FD_ID,
a.SP_NO, a.FD_SP_NO,
a.APPLY_USER_NAME, a.FD_APPLY_USER_NAME,
a.APPLY_USER_DEPT, a.FD_APPLY_USER_DEPT,
a.APPLY_DATE, a.FD_APPLY_DATE,
a.NEW_BEGIN, a.FD_NEW_BEGIN,
a.NEW_END, a.FD_NEW_END,
a.REASON, a.FD_REASON,
a.PERSON, a.FD_PERSON,
a.ADDRESS, a.FD_ADDRESS,
a.TOOLS, a.FD_TOOLS,
a.STATUS, a.FD_STATUS,
a.SETTLE_FORM_ID a.FD_SETTLE_FORM_ID,
a.create_time
</sql> </sql>
<!--获取全部的,用来: 拉取企业微信时,不覆盖数据 --> <!--获取全部的,用来: 拉取企业微信时,不覆盖数据 -->
<select id="getAllInfo" resultMap="BaseResultMap"> <select id="getAllInfo" resultMap="BaseResultMap">
...@@ -43,7 +45,7 @@ ...@@ -43,7 +45,7 @@
<where> <where>
1=1 1=1
<if test="status != null and status.trim() != ''"> <if test="status != null and status.trim() != ''">
AND a.STATUS = #{status} AND a.FD_STATUS = #{status}
</if> </if>
</where> </where>
</select> </select>
......
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