|
@@ -125,7 +125,8 @@ public abstract class BusJcebServiceImpl<T extends BusJceb> implements IBusJcebS
|
|
|
* 更新
|
|
* 更新
|
|
|
*/
|
|
*/
|
|
|
protected void setUpdate(BusJceb jceb) {
|
|
protected void setUpdate(BusJceb jceb) {
|
|
|
- if (StringUtils.isNotEmpty(jceb.getStationId())) {
|
|
|
|
|
|
|
+ if (StringUtils.isEmpty(jceb.getDeptStationId())
|
|
|
|
|
+ && StringUtils.isNotEmpty(jceb.getStationId())) {
|
|
|
// 设置关联ID
|
|
// 设置关联ID
|
|
|
setDeptStationId(jceb);
|
|
setDeptStationId(jceb);
|
|
|
}
|
|
}
|