The generated code as follow:
public TbsSpecification yjlGoodsAttribute2Spec(YjlGoodsAttribute yjlGoodsAttribute, TbsSpecification tbsSpecification) {
if ( yjlGoodsAttribute == null ) {
return null;
}
tbsSpecification.setModifiedTime( java.time.LocalDateTime.now() );
return tbsSpecification;
}
when yjlGoodsAttribute is null, the method should be return tbsSpecification.