|
|
@ -1,14 +1,11 @@
|
|
|
|
package au.com.royalpay.payment.manage.mappers.log;
|
|
|
|
package au.com.royalpay.payment.manage.mappers.log;
|
|
|
|
|
|
|
|
|
|
|
|
import com.yixsoft.support.mybatis.autosql.annotations.AdvanceSelect;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.yixsoft.support.mybatis.autosql.annotations.AutoMapper;
|
|
|
|
import com.yixsoft.support.mybatis.autosql.annotations.AutoMapper;
|
|
|
|
import com.yixsoft.support.mybatis.autosql.annotations.AutoSql;
|
|
|
|
import com.yixsoft.support.mybatis.autosql.annotations.AutoSql;
|
|
|
|
import com.yixsoft.support.mybatis.autosql.annotations.SqlType;
|
|
|
|
import com.yixsoft.support.mybatis.autosql.annotations.SqlType;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Created by davep on 2016-07-22.
|
|
|
|
* Created by davep on 2016-07-22.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -21,10 +18,6 @@ public interface GatewayClientApplyNotifyLogMapper {
|
|
|
|
@AutoSql(SqlType.UPDATE)
|
|
|
|
@AutoSql(SqlType.UPDATE)
|
|
|
|
void update(JSONObject notice);
|
|
|
|
void update(JSONObject notice);
|
|
|
|
|
|
|
|
|
|
|
|
@AutoSql(SqlType.SELECT)
|
|
|
|
|
|
|
|
@AdvanceSelect(addonWhereClause = "success=0 and addtime(`addtime`,'24:00:00')>now()")
|
|
|
|
|
|
|
|
List<JSONObject> listErrorLogsIn24Hour();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@AutoSql(SqlType.SELECT)
|
|
|
|
@AutoSql(SqlType.SELECT)
|
|
|
|
JSONObject findHistoryByClientId(@Param("client_id") int clientId);
|
|
|
|
JSONObject findHistoryByClientId(@Param("client_id") int clientId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|