|
|
@@ -12,7 +12,10 @@
|
|
|
<result column="pb_code" property="pb_code" jdbcType="VARCHAR" />
|
|
|
<result column="total" property="total" jdbcType="DOUBLE" />
|
|
|
<result column="date" property="date" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="sl_orderamount" property="sl_orderamount" jdbcType="DOUBLE" />
|
|
|
+ <result column="pb_date" property="pb_date" jdbcType="TIMESTAMP" />
|
|
|
<result column="companyId" property="companyId" jdbcType="INTEGER" />
|
|
|
+ <result column="pbd_nowbalance" property="pbd_nowbalance" jdbcType="DOUBLE" />
|
|
|
</resultMap>
|
|
|
<select id="selectByCondition" resultMap="BaseResultMap">
|
|
|
select * from account_details_view
|
|
|
@@ -24,7 +27,7 @@
|
|
|
and companyId = #{companyId}
|
|
|
</if>
|
|
|
</where>
|
|
|
- order by sl_code desc ,date desc
|
|
|
+ order by sl_code desc ,pb_date desc
|
|
|
</select>
|
|
|
|
|
|
<select id="selectCalculateFields" resultType="string">
|