|
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.liangjian11.ymall.controller.common.WechatController;
|
|
import com.liangjian11.ymall.controller.common.WechatController;
|
|
import com.liangjian11.ymall.handle.WxMpHandle;
|
|
import com.liangjian11.ymall.handle.WxMpHandle;
|
|
import com.liangjian11.ymall.mapper.UserAccountMapper;
|
|
import com.liangjian11.ymall.mapper.UserAccountMapper;
|
|
|
|
+import com.liangjian11.ymall.mapper.activityCenter.ActivityHelperMapper;
|
|
import com.liangjian11.ymall.mapper.activityCenter.ActivityJointorMapper;
|
|
import com.liangjian11.ymall.mapper.activityCenter.ActivityJointorMapper;
|
|
import com.liangjian11.ymall.model.Doctor;
|
|
import com.liangjian11.ymall.model.Doctor;
|
|
import com.liangjian11.ymall.model.UserAccount;
|
|
import com.liangjian11.ymall.model.UserAccount;
|
|
@@ -53,12 +54,14 @@ public class ServiceTest {
|
|
@Autowired
|
|
@Autowired
|
|
private ActivityJointorMapper ajMapper;
|
|
private ActivityJointorMapper ajMapper;
|
|
@Autowired
|
|
@Autowired
|
|
|
|
+ private ActivityHelperMapper ahMapper;
|
|
|
|
+ @Autowired
|
|
private HospitalDomain hospitalDomain;
|
|
private HospitalDomain hospitalDomain;
|
|
|
|
|
|
@Test
|
|
@Test
|
|
public void runTest(){
|
|
public void runTest(){
|
|
- String token = wxMpHandle.getToken();
|
|
|
|
- System.out.println(token);
|
|
|
|
|
|
+ Integer a = ahMapper.getHelpedCount(28, "oZh4guJFWppeFPZLnhwOig20MqtA");
|
|
|
|
+ System.out.println(a);
|
|
}
|
|
}
|
|
|
|
|
|
@Test
|
|
@Test
|