add export task mapper test
This commit is contained in:
parent
7d322ffe56
commit
4e8575d526
@ -1 +1 @@
|
|||||||
Subproject commit 5991f36ae60c1f7ed818f36f501c440bef527667
|
Subproject commit cf48c8867c81a24459ddcfffbd1ec4029b4fc95e
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.pudonghot.ambition.crm.mapper;
|
||||||
|
|
||||||
|
import me.chyxion.tigon.mybatis.BaseMapper;
|
||||||
|
import com.pudonghot.ambition.crm.model.ExportTask;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Donghuang
|
||||||
|
* @date May 29, 2022 14:44:46
|
||||||
|
*/
|
||||||
|
public interface ExportTaskMapper extends BaseMapper<Long, ExportTask> {
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
package com.pudonghot.ambition.crm.mapper;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import me.chyxion.tigon.mybatis.Search;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.test.context.ContextConfiguration;
|
||||||
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||||
|
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Donghuang
|
||||||
|
* @date May 29, 2022 14:44:58
|
||||||
|
*/
|
||||||
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
|
@ContextConfiguration("classpath*:spring/spring-*.xml")
|
||||||
|
public class ExportTaskMapperTest extends AbstractTransactionalJUnit4SpringContextTests {
|
||||||
|
@Autowired
|
||||||
|
private ExportTaskMapper mapper;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void mapperTest() {
|
||||||
|
mapper.list(new Search()).size();
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
# MySQL
|
# MySQL
|
||||||
datasource.host=127.0.0.1
|
datasource.host=172.16.4.6
|
||||||
datasource.port=63306
|
datasource.port=3306
|
||||||
datasource.database-name=ambition_crm_test
|
datasource.database-name=ambition-crm
|
||||||
datasource.username=root
|
datasource.username=root
|
||||||
datasource.password=696@2^~)oZ@^#*Q
|
datasource.password=MySQL2b||!2b
|
||||||
|
@ -26,6 +26,8 @@ public class CustomerProperty extends M3<String, String> {
|
|||||||
*/
|
*/
|
||||||
// public static final String TYPE_STATUS = "STATUS";
|
// public static final String TYPE_STATUS = "STATUS";
|
||||||
public enum Type {
|
public enum Type {
|
||||||
|
@Deprecated
|
||||||
|
APPLICATION,
|
||||||
STATUS
|
STATUS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>mysql</groupId>
|
<groupId>mysql</groupId>
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
<version>6.0.6</version>
|
<version>8.0.29</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- javax -->
|
<!-- javax -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user