Merge branch 'master' of http://60.1.1.230/backend/jieling_server
commit
d6a6f25e82
|
@ -49,7 +49,7 @@ public class WorkShopLogic {
|
||||||
oldLevl = workShopController.getTechnologyMap().get(profession).get(techId);
|
oldLevl = workShopController.getTechnologyMap().get(profession).get(techId);
|
||||||
}
|
}
|
||||||
SWorkShopTechnology sWorkShopTechnology = SWorkShopTechnology.getsWorkTechMapByTechIdAndLevel(techId, oldLevl);
|
SWorkShopTechnology sWorkShopTechnology = SWorkShopTechnology.getsWorkTechMapByTechIdAndLevel(techId, oldLevl);
|
||||||
if(sWorkShopTechnology == null){
|
if(sWorkShopTechnology == null || sWorkShopTechnology.getConsume().length<=0){
|
||||||
MessageUtil.sendErrorResponse(iSession,0,msgId,"maxLevel");
|
MessageUtil.sendErrorResponse(iSession,0,msgId,"maxLevel");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue