@@ -55,4 +55,11 @@ public interface BocomBasicInfoMapper extends BaseMapper<BocomBasicInfo> {
* @param bocomBasicInfo
*/
void save(BocomBasicInfo bocomBasicInfo);
+
+ /**
+ * 查询所有
+ * @return
+ */
+ List<BocomBasicInfo> findAll();
}
@@ -1969,7 +1969,7 @@ public class BocomBasicInfoServiceImpl extends ServiceImpl<BocomBasicInfoMapper,
@Override
public void batchReSearch() {
- List<BocomBasicInfo> list = list();
+ List<BocomBasicInfo> list = this.baseMapper.findAll();
if (CollectionUtil.isNotEmpty(list)) {
list.forEach(basic -> {
research(basic.getId());
@@ -50,4 +50,7 @@
<select id="findUserData" resultType="com.sunxung.factoring.entity.bocom.register.BocomBasicInfo">
select * from bocom_basic_info where user_create = #{value}
</select>
+ <select id="findAll" resultType="com.sunxung.factoring.entity.bocom.register.BocomBasicInfo">
+ select * from bocom_basic_info
+ </select>
</mapper>