|
|
@@ -25,6 +25,7 @@ import com.goafanti.common.model.ProjectSize;
|
|
|
import com.goafanti.common.utils.StringUtils;
|
|
|
import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
import com.goafanti.core.mybatis.page.Pagination;
|
|
|
+import com.goafanti.core.shiro.token.TokenManager;
|
|
|
|
|
|
@Service
|
|
|
public class BusinessProjectServiceImpl extends BaseMybatisDao<BusinessProjectMapper> implements BusinessProjectService {
|
|
|
@@ -48,8 +49,10 @@ public class BusinessProjectServiceImpl extends BaseMybatisDao<BusinessProjectMa
|
|
|
bp.setDistrict(district);
|
|
|
}
|
|
|
bp.setDeleteSign(0);
|
|
|
- //bp.setCreateId(TokenManager.getAdminId());
|
|
|
- bp.setCreateId("f31c0d1a-05bc-4f5c-b4a8-95f983d24131");
|
|
|
+ if (StringUtils.isNotBlank(TokenManager.getAdminId())) {
|
|
|
+ bp.setCreateId(TokenManager.getAdminId());
|
|
|
+ }
|
|
|
+ //bp.setCreateId("f31c0d1a-05bc-4f5c-b4a8-95f983d24131");
|
|
|
bp.setCreateTime(new Date());
|
|
|
bp.setStatus("0");
|
|
|
|