|
@@ -137,8 +137,14 @@ public class AsyncUtils {
|
|
|
* @param roleType
|
|
* @param roleType
|
|
|
*/
|
|
*/
|
|
|
public void updateListExamineName(Integer type, String depId, String roleType) {
|
|
public void updateListExamineName(Integer type, String depId, String roleType) {
|
|
|
-
|
|
|
|
|
|
|
+ StringBuffer names=new StringBuffer();
|
|
|
if (type==1){
|
|
if (type==1){
|
|
|
|
|
+ List<Admin> admins = adminMapper.selectAdminByRoleType(roleType);
|
|
|
|
|
+ for (Admin admin : admins) {
|
|
|
|
|
+ if (admin.getDepartmentId().equals(depId)){
|
|
|
|
|
+ names=names.append(admin.getName()).append(",");
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
tOrderInvoiceMapper.updateListExamineName(type,depId,roleType);
|
|
tOrderInvoiceMapper.updateListExamineName(type,depId,roleType);
|
|
|
}else if (type==2){
|
|
}else if (type==2){
|
|
|
tOrderInvoiceMapper.updateListExamineName(type,depId,roleType);
|
|
tOrderInvoiceMapper.updateListExamineName(type,depId,roleType);
|