|
@@ -10,6 +10,9 @@
|
|
|
<select id="selectPeriod" resultType="string">
|
|
<select id="selectPeriod" resultType="string">
|
|
|
select PD_DETNO from periodsdetail where companyid=#{companyId} and pd_status=0 order by PD_DETNO LIMIT 1;
|
|
select PD_DETNO from periodsdetail where companyid=#{companyId} and pd_status=0 order by PD_DETNO LIMIT 1;
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+ <select id="selectUnPeriod" resultType="string">
|
|
|
|
|
+ select PD_DETNO from periodsdetail where companyid=#{companyId} and pd_status=99 order by PD_DETNO desc LIMIT 1;
|
|
|
|
|
+ </select>
|
|
|
<resultMap id="MsgResult" type="com.usoftchina.saas.commons.dto.MessagelogDTO">
|
|
<resultMap id="MsgResult" type="com.usoftchina.saas.commons.dto.MessagelogDTO">
|
|
|
<result column="ml_content" property="ml_content" jdbcType="VARCHAR" />
|
|
<result column="ml_content" property="ml_content" jdbcType="VARCHAR" />
|
|
|
<result column="ml_result" property="ml_result" jdbcType="VARCHAR" />
|
|
<result column="ml_result" property="ml_result" jdbcType="VARCHAR" />
|