|
|
@@ -19,6 +19,7 @@ import com.goafanti.core.shiro.token.TokenManager;
|
|
|
import com.goafanti.order.bo.NewOrderChangeBo;
|
|
|
import com.goafanti.order.enums.OrderChangeProcess;
|
|
|
import com.goafanti.order.enums.ProcessStatus;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
@@ -180,7 +181,7 @@ public class AsyncUtils {
|
|
|
if (type==0){
|
|
|
String str=String.format("项目发起暂停,订单编号[%s]项目编号[%s],请及时审核",orderNo,ids);
|
|
|
TOrderNew tOrderNew = tOrderNewMapper.selectByPrimaryKey(orderNo);
|
|
|
- List<Admin> admins = adminMapper.selectAdminByRoleType(AFTConstants.SALESMAN_ADMIN);
|
|
|
+ List<Admin> admins = adminMapper.listAdminBydepIdAndRoleType(tOrderNew.getOrderDep(),AFTConstants.SALESMAN_ADMIN);
|
|
|
for (Admin admin : admins) {
|
|
|
addNotic(NoticeStatus.PROJECT_START.getCode(),admin.getId(), str);
|
|
|
}
|