winter 2 лет назад
Родитель
Сommit
b59cd52912
2 измененных файлов: 5 добавлений и 3 удалений
  1. +4
    -2
      mallinkAdmin/src/main/java/com/iformall/controller/base/BaseController.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxRaffleActivityRecordMapper.xml

+ 4
- 2
mallinkAdmin/src/main/java/com/iformall/controller/base/BaseController.java Просмотреть файл

@@ -70,8 +70,10 @@ public class BaseController {
*/
public TenantEntity getTenantInfo(){
Session session = SecurityUtils.getSubject().getSession();
String tenantId = (String)session.getAttribute(UserSession.tenantId);
String parentTenantId = (String)session.getAttribute(UserSession.parentTenantId);
// String tenantId = (String)session.getAttribute(UserSession.tenantId);
// String parentTenantId = (String)session.getAttribute(UserSession.parentTenantId);
String tenantId = "789";
String parentTenantId = null;
TenantEntity tenantEntity = new TenantEntity();
tenantEntity.setTenantId(tenantId);
tenantEntity.setParentTenantId(parentTenantId);


+ 1
- 1
mallinkService/src/main/resources/mapper/WxRaffleActivityRecordMapper.xml Просмотреть файл

@@ -106,7 +106,7 @@
<include refid="dynamicWhereConditions" />
</select>
<select id="findIdList" parameterType="com.iformall.domain.po.WxRaffleActivityRecord" resultMap="BaseResultMap">
<select id="findIdList" parameterType="com.iformall.domain.po.WxRaffleActivityRecord" resultType="Long">
select id from wx_raffle_activity_record
<include refid="dynamicWhereConditions" />
</select>


Загрузка…
Отмена
Сохранить