parent
f6ed3f1cea
commit
14a7d49c81
@ -0,0 +1,12 @@
|
||||
package au.com.royalpay.payment.manage;
|
||||
|
||||
import com.yixsoft.support.mybatis.spring.annotation.MapperScanner;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* Create by davep at 2020-03-17 16:53
|
||||
*/
|
||||
@Configuration
|
||||
@MapperScanner({".**.mapper", ".**.mappers"})
|
||||
public class ManagerPersistenceConfiguration {
|
||||
}
|
@ -1,20 +1,20 @@
|
||||
package au.com.royalpay.payment.manage.mappers.act;
|
||||
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoMapper;
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoSql;
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.SqlType;
|
||||
import com.yixsoft.support.mybatis.autosql.annotations.AutoMapper;
|
||||
import com.yixsoft.support.mybatis.autosql.annotations.AutoSql;
|
||||
import com.yixsoft.support.mybatis.autosql.annotations.SqlType;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
|
||||
@AutoMapper(tablename = "act_mon_delay_read_logs", pkName = "id")
|
||||
public interface ActMonDelayClientMapper {
|
||||
@AutoSql(type = SqlType.INSERT)
|
||||
@AutoSql(SqlType.INSERT)
|
||||
void save(JSONObject clientlog);
|
||||
|
||||
@AutoSql(type = SqlType.UPDATE)
|
||||
@AutoSql(SqlType.UPDATE)
|
||||
void update(JSONObject clientlog);
|
||||
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
@AutoSql(SqlType.SELECT)
|
||||
JSONObject actClient(@Param("client_id") int client_id);
|
||||
}
|
||||
|
@ -1,32 +1,32 @@
|
||||
package au.com.royalpay.payment.manage.mappers.payment;
|
||||
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.AdvanceSelect;
|
||||
import com.yixsoft.support.mybatis.autosql.annotations.AdvanceSelect;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
|
||||
import com.github.miemiedev.mybatis.paginator.domain.PageList;
|
||||
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoMapper;
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoSql;
|
||||
import cn.yixblog.support.mybatis.autosql.annotations.SqlType;
|
||||
import com.yixsoft.support.mybatis.autosql.annotations.AutoMapper;
|
||||
import com.yixsoft.support.mybatis.autosql.annotations.AutoSql;
|
||||
import com.yixsoft.support.mybatis.autosql.annotations.SqlType;
|
||||
|
||||
/**
|
||||
* Create by yixian at 2017-12-05 23:13
|
||||
*/
|
||||
@AutoMapper(tablename = "pmt_sub_merchant_id", pkName = "sub_merchant_id")
|
||||
public interface CommonSubMerchantIdMapper {
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
@AutoSql(SqlType.SELECT)
|
||||
PageList<JSONObject> list(@Param("is_valid") boolean is_valid, @Param("sub_merchant_id") String sub_merchant_id,PageBounds pageBounds);
|
||||
|
||||
|
||||
@AutoSql(type = SqlType.INSERT)
|
||||
@AutoSql(SqlType.INSERT)
|
||||
void save(JSONObject record);
|
||||
|
||||
@AutoSql(type = SqlType.UPDATE)
|
||||
@AutoSql(SqlType.UPDATE)
|
||||
void update(JSONObject record);
|
||||
|
||||
@AutoSql(type = SqlType.SELECT)
|
||||
@AutoSql(SqlType.SELECT)
|
||||
@AdvanceSelect(addonWhereClause = "is_valid = 1")
|
||||
JSONObject find(@Param("sub_merchant_id") String subMerchantId);
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue