# Conflicts: # pom.xml # src/main/java/au/com/royalpay/payment/manage/mappers/log/ClearingDetailMapper.java # src/main/java/au/com/royalpay/payment/manage/mappers/system/ClientDeviceTokenMapper.java # src/main/java/au/com/royalpay/payment/manage/mappers/system/ClientIncrementalMapper.java # src/main/resources/application-dev.properties # src/main/resources/application-local.properties # src/main/resources/application.propertiesmaster
commit
856eecac74
@ -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;
|
package au.com.royalpay.payment.manage.mappers.act;
|
||||||
|
|
||||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoMapper;
|
import com.yixsoft.support.mybatis.autosql.annotations.AutoMapper;
|
||||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoSql;
|
import com.yixsoft.support.mybatis.autosql.annotations.AutoSql;
|
||||||
import cn.yixblog.support.mybatis.autosql.annotations.SqlType;
|
import com.yixsoft.support.mybatis.autosql.annotations.SqlType;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
|
||||||
@AutoMapper(tablename = "act_mon_delay_read_logs", pkName = "id")
|
@AutoMapper(tablename = "act_mon_delay_read_logs", pkName = "id")
|
||||||
public interface ActMonDelayClientMapper {
|
public interface ActMonDelayClientMapper {
|
||||||
@AutoSql(type = SqlType.INSERT)
|
@AutoSql(SqlType.INSERT)
|
||||||
void save(JSONObject clientlog);
|
void save(JSONObject clientlog);
|
||||||
|
|
||||||
@AutoSql(type = SqlType.UPDATE)
|
@AutoSql(SqlType.UPDATE)
|
||||||
void update(JSONObject clientlog);
|
void update(JSONObject clientlog);
|
||||||
|
|
||||||
@AutoSql(type = SqlType.SELECT)
|
@AutoSql(SqlType.SELECT)
|
||||||
JSONObject actClient(@Param("client_id") int client_id);
|
JSONObject actClient(@Param("client_id") int client_id);
|
||||||
}
|
}
|
||||||
|
@ -1,32 +1,32 @@
|
|||||||
package au.com.royalpay.payment.manage.mappers.payment;
|
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 org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
|
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
|
||||||
import com.github.miemiedev.mybatis.paginator.domain.PageList;
|
import com.github.miemiedev.mybatis.paginator.domain.PageList;
|
||||||
|
|
||||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoMapper;
|
import com.yixsoft.support.mybatis.autosql.annotations.AutoMapper;
|
||||||
import cn.yixblog.support.mybatis.autosql.annotations.AutoSql;
|
import com.yixsoft.support.mybatis.autosql.annotations.AutoSql;
|
||||||
import cn.yixblog.support.mybatis.autosql.annotations.SqlType;
|
import com.yixsoft.support.mybatis.autosql.annotations.SqlType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create by yixian at 2017-12-05 23:13
|
* Create by yixian at 2017-12-05 23:13
|
||||||
*/
|
*/
|
||||||
@AutoMapper(tablename = "pmt_sub_merchant_id", pkName = "sub_merchant_id")
|
@AutoMapper(tablename = "pmt_sub_merchant_id", pkName = "sub_merchant_id")
|
||||||
public interface CommonSubMerchantIdMapper {
|
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);
|
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);
|
void save(JSONObject record);
|
||||||
|
|
||||||
@AutoSql(type = SqlType.UPDATE)
|
@AutoSql(SqlType.UPDATE)
|
||||||
void update(JSONObject record);
|
void update(JSONObject record);
|
||||||
|
|
||||||
@AutoSql(type = SqlType.SELECT)
|
@AutoSql(SqlType.SELECT)
|
||||||
@AdvanceSelect(addonWhereClause = "is_valid = 1")
|
@AdvanceSelect(addonWhereClause = "is_valid = 1")
|
||||||
JSONObject find(@Param("sub_merchant_id") String subMerchantId);
|
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