|
@@ -13,7 +13,7 @@
|
|
|
<result column="rb_rdamount" property="rb_rdamount" jdbcType="DOUBLE" />
|
|
<result column="rb_rdamount" property="rb_rdamount" jdbcType="DOUBLE" />
|
|
|
<result column="rb_rbdamount" property="rb_rbdamount" jdbcType="DOUBLE" />
|
|
<result column="rb_rbdamount" property="rb_rbdamount" jdbcType="DOUBLE" />
|
|
|
<result column="mustpay" property="mustpay" jdbcType="DOUBLE" />
|
|
<result column="mustpay" property="mustpay" jdbcType="DOUBLE" />
|
|
|
- <result column="mustdate" property="mustdate" jdbcType="DOUBLE" />
|
|
|
|
|
|
|
+ <result column="mustdate" property="mustdate" jdbcType="TIMESTAMP" />
|
|
|
<result column="pi_total" property="pi_total" jdbcType="DOUBLE" />
|
|
<result column="pi_total" property="pi_total" jdbcType="DOUBLE" />
|
|
|
<result column="pi_remark" property="pi_remark" jdbcType="VARCHAR" />
|
|
<result column="pi_remark" property="pi_remark" jdbcType="VARCHAR" />
|
|
|
<result column="companyId" property="companyId" jdbcType="INTEGER" />
|
|
<result column="companyId" property="companyId" jdbcType="INTEGER" />
|
|
@@ -29,6 +29,6 @@
|
|
|
and companyId = #{companyId}
|
|
and companyId = #{companyId}
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
- order by rb_date desc
|
|
|
|
|
|
|
+ order by pi_custname asc, rb_date desc, pi_custcode desc
|
|
|
</select>
|
|
</select>
|
|
|
</mapper>
|
|
</mapper>
|